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 the weights "mobilenet0.25_Final.pth"? #180

Open
grapefruitL opened this issue Nov 9, 2021 · 1 comment
Open

How to use the weights "mobilenet0.25_Final.pth"? #180

grapefruitL opened this issue Nov 9, 2021 · 1 comment

Comments

@grapefruitL
Copy link

I use following cmd to do evaluation

python test_widerface.py --trained_model mobilenet0.25_Final.pth --network mobile0.25

but it turns out that "mobilenetV1X0.25_pretrain.tar" is used(here) and it is the imagenet pretrain weights, which is uesed for training and can not be used to detect face

simply replacing "mobilenetV1X0.25_pretrain.tar" with "mobilenet0.25_Final.pth" didn't work
can anyone using author's mobilenet pretrain weights successfully help me?

@hengshan123
Copy link

mobilenetV1X0.25_pretrain.tar is for pretrain, you can see the data/config.py/cfg_mnet dict, if you just want inference, you can set pretrain False.

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

2 participants