dec
dec copied to clipboard
type object 'Net' has no attribute 'set_phase_train'
Hi @piiswrong ,
I have change the path of caffe in dec.py as the path where I installed cafe. When I run python dec.py mnist, it reports "type object 'Net' has no attribute 'set_phase_train'", it seems to be caused by different versions of caffe. But the caffe version in your directory seems not be able to been built. Do you have any idea how I should solve this problem?
Thanks, Rui
Hi,
I have solve this problem but I meet a new one: when run python dec.py mnist: F1219 15:58:55.244161 6564 common.cpp:53] CPU-only Mode: cannot make GPU call. Could you please give me some suggestions if you have any?
Best, Rui
Hi, I have the same problem of "type object 'Net' has no attribute 'set_phase_train'". Can you tell me how to solve it? Thanks
Hi @Doreenruirui , I have the same problem of "type object 'Net' has no attribute 'set_phase_train'". Can you tell me how to solve it? Thanks
Hi @Doreenruirui , I have the same problem of "type object 'Net' has no attribute 'set_phase_train''.Can you tell me how to solve it? Thanks
I have solved the problem. I think we must use the version of caffe that the author offered.It has been modified in source code.
@JohnnMa Hello, can you tell me how to use the author's caffe version, thank you.
Hello,@Doreenruirui I have the same problem of "type object 'Net' has no attribute 'set_phase_train''.Can you tell me how to solve it? Thanks