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

How to use other pretrained models? #11

Open
MuhammadAsadJaved opened this issue Jan 15, 2019 · 1 comment
Open

How to use other pretrained models? #11

MuhammadAsadJaved opened this issue Jan 15, 2019 · 1 comment
Labels
good to know Good for newcomers

Comments

@MuhammadAsadJaved
Copy link

Hi,
I am using ResNet for infer on video file with this given command and it is working well.

python2 tools/infer_vid.py
--cfg configs/DensePose_ResNet101_FPN_s1x-e2e.yaml
--output-dir DensePoseData/infer_out/
--wts https://s3.amazonaws.com/densepose/DensePose_ResNet101_FPN_s1x-e2e.pkl
--input-file filename

My question is can I use the other network specified in paper like VGG16 etc? these pre-trained networks like ResNet are also available for this task ? if yes then How can I use them? like in the above command we specify with --cfg and --wts arguments . then what will be the link of that networks ? or I need to train them and only then I can use it?
My second Question is . Is the ResNet is fastest for this task? or any other available network perform better on video file because output using ResNet is very slow.?

@trrahul
Copy link
Owner

trrahul commented Feb 18, 2019

Hi, very sorry for the late reply.
As mentioned in the readme, you can get the files from these links.

(https://github.com/facebookresearch/DensePose/tree/master/configs)
https://github.com/facebookresearch/DensePose/blob/master/MODEL_ZOO.md

As the answer to your second question, ResNet was the fastest when I run the tests, it was a while ago. I can not say how are the performance now with other models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good to know Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants