Deleting a branch is permanent. It CANNOT be undone. Continue?
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》
在路径:MSAdapterModelZoo/official/cv/faster_rcnn/faster_rcnn_adapter/trainval_net.py文件中,
类似这样的代码在本地运行会报错,
'optimizer': optimizer.state_dict(),
提示信息如下:AttributeError: The 'Adam' object has no attribute 'state_dict'.
补充对应代码的位置:https://openi.pcl.ac.cn/OpenI/MSAdapterModelZoo/src/branch/master/official/cv/faster_rcnn/faster_rcnn_adapter/trainval_net.py#L340
感谢您的反馈,很抱歉未能及时处理该任务,后续我们会及时跟进。
前期版本Adam功能还不完备,缺失state_dict方法,mindtorch 0.2及之后的版本已经修复了该问题,您可以更新版本后使用。