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

abort trap 6 #7

Closed
mikeconnors909 opened this issue Dec 27, 2016 · 1 comment
Closed

abort trap 6 #7

mikeconnors909 opened this issue Dec 27, 2016 · 1 comment

Comments

@mikeconnors909
Copy link

Thanks for posting the code; it looks really interesting! When I run any of the examples I get this sort of error:

Starting optimizing WARNING: Logging before InitGoogleLogging() is written to STDERR F1227 00:45:44.057626 2037047296 inner_product_layer.cpp:144] Cannot use GPU in CPU-only Caffe: check mode. *** Check failure stack trace: *** ./1_activate_output.sh: line 57: 14235 Abort trap: 6 python ./act_max.py --act_layer ${act_layer} --opt_layer ${opt_layer} --unit ${unit} --xy ${xy} --n_iters ${n_iters} --start_lr ${lr} --end_lr ${end_lr} --L2 ${L2} --seed ${seed} --clip ${clip} --bound ${bound_file} --debug ${debug} --output_dir ${output_dir} --init_file ${init_file} convert: unable to open image output/fc8_0643_200_0.99_8.0__0.jpg': No such file or directory @ error/blob.c/OpenBlob/2701.
convert: no images defined output/fc8_0643_200_0.99_8.0__0.jpg' @ error/convert.c/ConvertImageCommand/3258. convert: unable to open image output/fc8_0643_200_0.99_8.0__0.jpg': No such file or directory @ error/blob.c/OpenBlob/2701.

unit: 624 xy: 0
n_iters: 200
L2: 0.99
start learning rate: 8.0
end learning rate: 1e-10
seed: 0
opt_layer: fc6
act_layer: fc8
init_file: None
clip: 0
bound: act_range/3x/fc6.txt

debug: 0
output dir: output
net weights: nets/caffenet/bvlc_reference_caffenet.caffemodel
net definition: nets/caffenet/caffenet.prototxt

`
Any idea what could be causing it?
Thanks so much!

@mikeconnors909
Copy link
Author

Sorry, I figured it out- a settings.py issue. However, I was also wondering - I noticed commented out code that allows you to supply your own unit number. I was wondering what the syntax is for supplying the unit number at the command prompt? Thanks!

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

2 participants