-
Notifications
You must be signed in to change notification settings - Fork 272
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
DenseNet161 deploy prototxt (ceil_mode and round_mode) error #37
Comments
I've found that this problem (has no field named "ceil_mode") could be solved by changing the "ceil_mode: false" line to "round_mode: FLOOR" in the prototxt file to fit the new version of Caffe. The new version of Caffe use round_mode: CEIL/FLOOR to choose which mode to use (default CEIL). I have tested this modification on Densenet161 and it didn't seem to affect the performance. Hope this can help. |
Tnx for the update, now I get the following error:
It seems Did u encounter the same problem? |
Sorry, I didn't encounter this problem. Maybe you can check whether your .caffemodel file matches the .prototxt file correctly... I mean, the conv1 layer of DenseNet_121 and DenseNet_169 is 64 3 7 while the conv1 layer of DenseNet_161 is 96 3 7, maybe you have mismatched DenseNet_169.caffemodel to DenseNet_161.prototxt or something like that I guess? |
Oohh! yes, u're absolutely right! |
Congrats! Happy to hear that! |
In another PC in which
This is my python specification and caffe version:
I also noticed #32 is an open issue regarding this but is there any workaround for anaconda version of caffe? |
I don't have any idea about this error message... A possible solution is to check those corresponding lines mentioned by https://github.com/BVLC/caffe/pull/3057/files (see also #1) in caffe-gpu from anaconda to see what params are actually used and modify the .prototxt file. |
Alternatively, you can install another caffe from source code and use sys.path.insert to specify which caffe to use.
|
@LYC-vio I'm afraid installing caffe from source is an option cuz this a univ GPU clusters and we do not get |
Loading
.caffemodel
anddeploy.ptototxt
in caffe forTEST
phase returns the following error:ur Baidu link (https://pan.baidu.com/s/1gfjD8cF) seems to be broken too! Do u have updated version of that link?
The text was updated successfully, but these errors were encountered: