We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26978e2 commit 9d7aa62Copy full SHA for 9d7aa62
process.py
@@ -16,7 +16,7 @@ def main():
16
model.to(device)
17
checkpoint = torch.load(os.path.join(args.output_dir,
18
f"{args.dataset}_{args.base_model}_cls{args.num_classes}_cpt{args.num_cpt}_" +
19
- f"{'use_slot_' + args.cpt_activation if not args.pre_train else 'no_slot'}3.pt"), map_location="cuda:0")
+ f"{'use_slot_' + args.cpt_activation if not args.pre_train else 'no_slot'}.pt"), map_location="cuda:0")
20
model.load_state_dict(checkpoint, strict=True)
21
model.eval()
22
0 commit comments