-
Notifications
You must be signed in to change notification settings - Fork 11
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.pth
available for download is aViT-L
, but it has only 304M parameters, whileViT-L
has 428M parameters. - The paper says you have finetuned both
ViT-B
andViT-L
, but there is noViT-B
checkpoint available for download.
Metadata
Metadata
Assignees
Labels
No labels