Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Python stopped working when execute 'self.solver.step(1)' code in 'train.py' file. #171

Closed
cobbwho opened this issue Apr 23, 2018 · 1 comment

Comments

@cobbwho
Copy link

cobbwho commented Apr 23, 2018

I completed the caffe compilation in cpu-only mode on windows without cuda. Because I don't have linux and no cuda. When I train with the voc_2007 data set via train_net.py, Some errors have been made.When the program runs to the position shown in the figure below:
...
I0423 net.cpp:774] Copying source layer fc7 I0423 net.cpp:774] Copying source layer relu7 I0423 net.cpp:774] Copying source layer drop7 I0423 net.cpp:771] Ignoring source layer fc8 I0423 net.cpp:771] Ignoring source layer loss
Solving...
Then, the dialog box indicates that python.exe has stopped working and no error message. I don't kown what‘s the wrong and the program crushed.
I tried to find the error code in the train.py file and I find the program stoped in code self.solver.step(1) in 92 rows and 12 columns. It seems like that error occurred in the underlying cpp file to check something about gpu , but I did not find.
Anyone got any ideas? Any word will be appreciate.

@cobbwho
Copy link
Author

cobbwho commented Apr 25, 2018

Unfortunately, the author rbgirshick already said they do not plan to support CPU-only training Cpu only #39. Although I have modified ‘smooth_L1_loss_layer.cpp’ and ‘roi_pooling_layer.cpp’ and add forward backward method, It's work. I don't have the time and the ability to modify the underlying code to make it support cpu_only.

@cobbwho cobbwho closed this as completed Apr 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant