Skip to content

Commit 9d7aa62

Browse files
authored
Update process.py
1 parent 26978e2 commit 9d7aa62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def main():
1616
model.to(device)
1717
checkpoint = torch.load(os.path.join(args.output_dir,
1818
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")
19+
f"{'use_slot_' + args.cpt_activation if not args.pre_train else 'no_slot'}.pt"), map_location="cuda:0")
2020
model.load_state_dict(checkpoint, strict=True)
2121
model.eval()
2222

0 commit comments

Comments
 (0)