AttributeError: 'DQN' object has no attribute 'training_step'
时间: 2023-10-10 21:04:53 浏览: 103
【Python】AttributeError: ‘AutoSchema’ object has no attribute ‘get_link’
5星 · 资源好评率100%
这个错误是由于在代码中的某个地方调用了一个名为'training_step'的属性,但是该属性在'DQN'对象中不存在,从而引发了AttributeError。根据提供的引用内容,我无法确定该错误的具体来源和解决方法。请检查代码中是否正确定义了名为'training_step'的属性,并确保它在'DQN'对象中可访问。另外,你也可以尝试搜索该错误信息以获取更多关于此错误的上下文和解决方法。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [【Python】AttributeError: ‘AutoSchema’ object has no attribute ‘get_link’](https://download.csdn.net/download/weixin_38534444/13745029)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [18_3Reinforcement Learning_LunarLander_SpaceInvader](https://blog.csdn.net/Linli522362242/article/details/119267256)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文