Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

你好,用DQN训练的时候会出现只有一个机器人走了一步,就不再动了 #12

Open
ycc234 opened this issue Aug 7, 2022 · 1 comment

Comments

@ycc234
Copy link

ycc234 commented Aug 7, 2022

你好,用DQN训练的时候会出现只有一个机器人走了一步,就不再动了,请问是什么问题

@ycc234
Copy link
Author

ycc234 commented Aug 7, 2022

['Traceback (most recent call last):\n', ' File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 625, in _handle_request\n response = convert_return_to_response(self.handler(request), self.response_class)\n', ' File "train.py", line 73, in get_action_callback\n action = DQN.choose_action(observation, task_status)\n', "NameError: name 'DQN' is not defined\n"]
[ERROR] [1659856278.818122]: Error processing request: name 'DQN' is not defined
显示这个错误,可以帮忙看一下吗,谢谢

@ycc234 ycc234 changed the title dqn 你好,用DQN训练的时候会出现只有一个机器人走了一步,就不再动了 Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant