-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tensorflow termination; what(): std::bad_alloc #28
Comments
That looks like it's running out of memory when trying to initialize the larger image, try scaling down the size of your source images by 50% and see if it still works. How much memory does your system have? |
I have the same problem and my ram is 5.55GB timchan@ubuntu:~/workspaces/dl/tf$ python3 full_code.py |
Having the same problem with (100, 512, 512, 3). Will try scaling the image down but are their any other work around here? |
Try with lesser hidden layers if you are using a fully connected NN. |
same issue terminate called after throwing an instance of 'std::bad_alloc' |
same issue when use tensorflow-jni in java application tensorflow version is 1.2,the java crash log shows that the last stack in ###Java_org_tensorflow_TensorFlow_registeredOpList###
|
Hi, I don't have nvidia so I've been trying to use TensorFlow backend with --mrf-w=0 to speed things up (Theano works but really slow), but I get this error (tested with many different images that all worked using Theano backend).. any ideas how to fix it?
The text was updated successfully, but these errors were encountered: