Hi
Get the following error when running torch.save(model_trt.state_dict(), ‘best_model_trt.pth’)
SD card imageJetbot-043_nano04gb-jp45
All examples have worked upto this point
Any help?
Hi
Get the following error when running torch.save(model_trt.state_dict(), ‘best_model_trt.pth’)
SD card imageJetbot-043_nano04gb-jp45
All examples have worked upto this point
Any help?
Hi,
Could you double-check if the model_trt is valid?
Based on the error, it seems that the variable is None so cannot link to the serialization function.
Thanks.
Not sure how to do that, I’m just starting out working through the examples.
Hi,
After [4], could you add one extra line to print the variable?
For example:
print(model_trt)
Thanks.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.