Skip to content
Snippets Groups Projects
Commit 798d8a74 authored by Yifan Zhao's avatar Yifan Zhao
Browse files

Fix up path to pytorch weight

parent 03425866
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ for model_cls, nch, img_size, batch_size, pathname in benchmarks:
params / "test_input.bin", params / "test_labels.bin", dataset_shape
)
model: Module = model_cls()
checkpoint = self_folder / "../model_params" / f"{pathname}.pth.tar"
checkpoint = self_folder / "../model_params/pytorch" / f"{pathname}.pth.tar"
model.load_state_dict(torch.load(checkpoint.as_posix()))
build_dir = codegen_dir / "build"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment