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
Could you provide the code of 'load_model_and_prune' and 'load_model' in test.py?
Hi Draymond, I found that the function "build_model" shown in test_prune.py is actually your expected function "load_model_and_prune". So you can just change the function name to "build_model" in line 193. Also, load_model(model_path) could be replaced by model.load_state_dict(torch.load(model_path)). Hope this help you :)
Could you provide the code of 'load_model_and_prune' and 'load_model' in test.py?
The text was updated successfully, but these errors were encountered: