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

Generate .pth file #20

Open
lyhsieh opened this issue Feb 19, 2024 · 1 comment
Open

Generate .pth file #20

lyhsieh opened this issue Feb 19, 2024 · 1 comment

Comments

@lyhsieh
Copy link

lyhsieh commented Feb 19, 2024

I ran the command python src/experiments/peclr_training.py --color_jitter --random_crop --rotate --crop -resnet_size 50 -sources freihand -sources youtube --resize -epochs 100 -batch_size 128 -accumulate_grad_batches 16 -save_top_k 1 -save_period 1 -num_workers 8 for 100 epochs and got a checkpoint file saved at data/models/74c1b59eb8234ad4b9055d4756092e20/checkpoints/epoch=97.ckpt.

How to convert it to a .pth file to reproduce the numbers in the paper?

Thank you for your help!

@lyhsieh
Copy link
Author

lyhsieh commented Feb 19, 2024

I've also run src/models/port_model.py. The program exited without any error but it doesn't seem to produce any .pth file.

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

1 participant