-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I have encountered an error when running the evaluate.py script.
The error pertains to the loading of the model from the provided model data file located at https://huggingface.co/ridger/MLP-SNN/blob/main/model.pth.tar. The error message indicates that the hyperparameter “hparams” is empty upon model loading.
Upon inspecting the contents of the model.pth.tar file, I found that the dictionary includes keys such as epoch, arch, state_dict, optimizer, version, args, amp_scaler, and metric, but hparams is not listed.
I want to know if this model file corresponds to the evaluate.py script, or how I should run the evaluate.py scriptcorrectly。
Metadata
Metadata
Assignees
Labels
No labels