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

Download the weights file with the coco keypoints #2

Closed
ultra-sonic opened this issue Mar 5, 2019 · 5 comments
Closed

Download the weights file with the coco keypoints #2

ultra-sonic opened this issue Mar 5, 2019 · 5 comments

Comments

@ultra-sonic
Copy link

ultra-sonic commented Mar 5, 2019

Hi Tobias,
I get errors running detectron and I have a feeling this is because I am using the wrong weights.
Can you point me to the correct weights file that I need to use with "e2e_keypoint_rcnn_R-101-FPN_s1x.yaml"
I am using "R-101.pkl" from here https://dl.fbaipublicfiles.com/detectron/ImageNetPretrained/MSRA/R-101.pkl
but detectron tells me:
INFO net.py: 96: res5_2_branch2c_bn_s loaded from weights file into gpu_0/res5_2_branch2c_bn_s: (2048,) INFO net.py: 96: res5_2_branch2c_bn_b loaded from weights file into gpu_0/res5_2_branch2c_bn_b: (2048,) INFO net.py: 89: fpn_inner_res5_2_sum_w not found INFO net.py: 89: fpn_inner_res5_2_sum_b not found INFO net.py: 89: fpn_inner_res4_22_sum_lateral_w not found
....
[E net_async_base.cc:377] IsType<T>() ASSERT FAILED at /pytorch/aten/src/ATen/core/blob.h:77, please report a bug to PyTorch. wrong type for the Blob instance. Blob contains nullptr (uninitialized) while caller expects caffe2::Tensor. Offending Blob name: gpu_0/fpn_inner_res2_2_sum_lateral_w. ....

any help would be greatly appreciated!

@tobiascz
Copy link
Owner

tobiascz commented Mar 5, 2019

I don't know where I got this file from anymore. I think it was somewhere described in the videopose3D repository. I uploaded my local one to dropbox so maybe just use that. Let me know if it works!

model

@ultra-sonic
Copy link
Author

thanks you so very much for your quick help! it is running properly now!

@ultra-sonic
Copy link
Author

I think this is what I was looking for:
https://github.com/facebookresearch/Detectron/blob/master/MODEL_ZOO.md
It contains links to all models they have trained so far at facebook.

@fizzerle
Copy link

Which file did you choose? I get the same error as in the first post.

@tzvsi
Copy link

tzvsi commented Jul 26, 2020

Try this:

https://dl.fbaipublicfiles.com/detectron/37698009/12_2017_baselines/e2e_keypoint_rcnn_R-101-FPN_s1x.yaml.08_45_57.YkrJgP6O/output/train/keypoints_coco_2014_train:keypoints_coco_2014_valminusminival/generalized_rcnn/model_final.pkl

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

4 participants