You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@PingoLH How do you run the code with the model: hardnet_petite_base.pth
I get the following error:
Traceback (most recent call last):
File "test.py", line 139, in <module>
test(args)
File "test.py", line 47, in test
device, model, loader = init_model(args)
File "test.py", line 34, in init_model
state = convert_state_dict(torch.load(args.model_path, map_location=device)["model_state"])
KeyError: 'model_state'
The text was updated successfully, but these errors were encountered:
@PingoLH How do you run the code with the model: hardnet_petite_base.pth
I get the following error:
The text was updated successfully, but these errors were encountered: