-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I am trying to load just the downloaded model checkpoint.pth to be used as a PyTorch module in another model. I found it difficult to extract the minimum amount of code necessary to load checkpoint.pth as a PyTorch module.
Specifically, I cannot just run
python main_sim.py --dataset wikiart -a vit_large --pt_style csd --feattype normal --world-size 1
--dist-url tcp://localhost:6001 -b 128 -j 8 --embed_dir ./embeddings --data-dir <path to WikiArt dataset>
--model_path <path to CSD weights>because I need to use the module as part of a larger model, not on its own.
Further, there are two discrepancies:
- It is claimed that the
checkpoint.pthavailable for download is aViT-L, but it has only 304M parameters, whileViT-Lhas 428M parameters. - The paper says you have finetuned both
ViT-BandViT-L, but there is noViT-Bcheckpoint available for download.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels