Skip to content
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

example-deepdream CUDA Error #6

Closed
AndreasRef opened this issue Jan 11, 2017 · 4 comments
Closed

example-deepdream CUDA Error #6

AndreasRef opened this issue Jan 11, 2017 · 4 comments

Comments

@AndreasRef
Copy link

When running example-deepdream I get the following error.

Loading weights from /Users/andreasrefsgaard/Documents/OpenFrameworks/of_v0.9.7_osx_release/addons/ofxDarknet/example-deepdream/bin/data/vgg-conv.weights...Done!
Iteration: 0, 1, 2, CUDA Error: out of memory
Assertion failed: (0), function check_error, file /Users/sonneundasche/programming/of/addons/ofxDarknet/libs/darknet/include/cuda.c, line 39.

Is it suppose to refer to the local path of /Users/sonneundasche/ ?

@schwittlick
Copy link
Owner

what you have there is two issues. first, you are running out of memory. try to create a deep dream on a smaller image and you will run through more iterations and might eventually complete it, depending on the parameters you used.

the fact that the filesystem path from @BildPeter is showing up there is another issue that is not responsible for the crash.

@AndreasRef
Copy link
Author

Ah, of course, just assumed they were somehow related. Smaller image size did the trick, thanks!

@schwittlick
Copy link
Owner

coolio :)

@BildPeter do you think there is any way of compiling the static lib in a way to use relative paths in these error messages?

@peterkolski
Copy link
Collaborator

peterkolski commented Jan 12, 2017

@Mrzl The filesystem is baked in automatically during generation of the lib. This should not matter while executing, if the run & linker path is set correctly.
@AndreasRef Is this still occurring with sufficient memory? Otherwise the issue is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants