-
Notifications
You must be signed in to change notification settings - Fork 224
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 fails #68
Comments
@neilyoung Hi, I meet the same problem, have you solved it? |
TBH, I don't recall |
Same error, need help |
@neilyoung @yaoqi-zd @zhangchuanyi96 I met the same problem as you guys. I solved this in pytorch 1.0 environment. |
Thanks. BTW, I have managed to tackle it by replacing 'flatten' with 'view'. |
@zhangchuanyi96 hello bro, i have fix it with view() as you say, however, i have met a new question when i load the caffe model. It says: 'F0711 16:12:40.803625 10250 insert_splits.cpp:29] Unknown bottom blob 'contiguous_blob1' (layer 'view1', bottom index 0)' |
I didn't meet this bug and can't help. Maybe changing pytorch version will help, like 1.0 |
这是由于0.3之后的trochvision将view换成flatten层的转换未实现所致,你可以参考#26 |
谢谢回复 |
I change to torch==1.0.1 torchvision==0.2.2, which can solve this problem. |
Did run
resnet_pytorch_2_caffe.py
with a downloadedresnet18-5c106cde.pth
. Went good for a while, then it crashed:Any pointer?
The text was updated successfully, but these errors were encountered: