Improve PyTorchFileRecorder
enum deserializer error message
#2663
Labels
enhancement
Enhance existing features
PyTorchFileRecorder
enum deserializer error message
#2663
Trying to import a pytorch model into its corresponding Burn implementation can be a little difficult for new users, especially if the definition involves multiple enum modules to match the pytorch structure.
If the definition is not exact on the first attempt, which usually involves remapping some keys, it usually leads to an error like:
This is not very helpful. We should try to provide a more helpful error message.
Ref: discord convo
The text was updated successfully, but these errors were encountered: