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 can I get small_pvt.pth? #14

Closed
SamMohel opened this issue Mar 20, 2021 · 3 comments
Closed

How can I get small_pvt.pth? #14

SamMohel opened this issue Mar 20, 2021 · 3 comments

Comments

@SamMohel
Copy link

SamMohel commented Mar 20, 2021

I run your main.py .. I'm confusing what this class do ? it gave me the accuracy for 500 epoch and loss of them right ? and when I tried to train my images by this command
'dist_train.sh configs/retinanet_pvt_s_fpn_1x_coco_640.py 1'

I got that small_pvt.pth not found .. excuse me does that will be the weights ? Or checkpoints ?

Does small_pvt.pth here
https://drive.google.com/file/d/1vtcyoU8KUqNzktlMGXZrYcMRsNNiVZFQ/view?usp=sharing
For imagenet ? But how can I got pth file.if the dataset.is different . Appreciating your reply. Thanks

@whai362
Copy link
Owner

whai362 commented Mar 20, 2021

Hi, pvt_small.pth is the pre-trained weights of the backbone, not the checkpoint of retinanet_pvt_s_fpn_1x_coco_640.py.

You could create the folder pretrained/, and put the pvt_small.pth download from https://drive.google.com/file/d/1vtcyoU8KUqNzktlMGXZrYcMRsNNiVZFQ/view?usp=sharing in the folder.

@whai362 whai362 closed this as completed Mar 20, 2021
@SamMohel
Copy link
Author

Thanks so this weights for any datasets ?

@whai362
Copy link
Owner

whai362 commented Mar 20, 2021

Thanks so this weights for any datasets ?

Yes.

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