Closed tarlen5 closed 6 years ago
You can only use the e2e*
models with infer_simple.py
; otherwise you'd need to provide externally computed region proposals, as in Fast R-CNN.
I also had this problem. @rbgirshick I think it would be useful to add a line about it in GETTING_STARTED.md and maybe another on how to run other models, what do you think ?
@tarlen5 how did you locate -wts http url from eg: keypoint_rcnn_X-101-64x4d-FPN_1x.yaml?
Hi @ccs1605. To find these weights you go to the Model Zoo page:
And then find the section you're interested in (the documentation is very clear here). Then find the link to the weights file in the far right column "download links". So for keypoint_rcnn_X-101-64x4d-FPN_1x.yaml you'd have:
thank you! it works like a charm.
@rbgirshick can you give an example ? thanks!
Hi, thanks in advance for this great codebase and for considering this issue.
Expected results
I'm trying to run
tools/infer_simple.py
on thedemo
directory for keypoint detection using the baseline models in the model zoo. All of theconfigs/12_2017_baselines/e2e_keypoint_rcnn_*.yaml
models do work for me, but none of theconfigs/12_2017_baselines/keypoint_rcnn_*.yaml
work, all throwing the sameKeyError
, described in the next section.Actual results
I get a KeyError when it tries to perform the first inference on the first image, with the following Traceback:
Detailed steps to reproduce
E.g.:
System information
PYTHONPATH
environment variable: /home/ubuntu/local/caffe2/buildpython --version
output: Python 2.7.14 :: Anaconda custom (64-bit)