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

robot cycling #7

Closed
BowenY opened this issue Aug 16, 2018 · 6 comments
Closed

robot cycling #7

BowenY opened this issue Aug 16, 2018 · 6 comments
Assignees
Labels
question Further information is requested

Comments

@BowenY
Copy link

BowenY commented Aug 16, 2018

Hi there,

I am not sure if I should put this question here. Please move it if it's not appropriate.

When the robot is being trained on stage_1 and stage_2, should it get to the infinite cycling after training finished? I noticed the robot just keep cycling after couple of episodes and the reward recached to over 1500.

Thanks

@robotpilot robotpilot added the question Further information is requested label Aug 16, 2018
@kijongGil
Copy link
Contributor

Hi @BowenY :)
The agent has to subscribe to the scan topic from gazebo, but the learning is sometimes stopped because gazebo does not publish scan topic. It is a bug.
You can see that the learning has stopped, the action graph is not moving.
If learning stops, try again from the last saved episode.

Thanks,
Gilbert.

@BowenY
Copy link
Author

BowenY commented Aug 17, 2018

Hi @kijongGil ,

Thanks for replying. That makes sense to me cause I didn't find any code mentioning cycling around in the code base.
As to the train from the last saved episode, I just would to double check to make sure I found the place currently:
set the "self.load_model = true" and "self.load_episode = last saved episode number which can be found in the save_model folder"

Is that correct?

Thanks!

@kijongGil
Copy link
Contributor

Yes, right. If you have a 'stage_1_100.h5' file, you can load save model.

self.load_model = true
self.load_episode = 100

@BowenY
Copy link
Author

BowenY commented Aug 21, 2018

@kijongGil Wonderful. Thanks. It's working now. The gazebo stops sending "/scan" so often though.

@kijongGil
Copy link
Contributor

I'm going to close this issue. You can reopen this issue to show this issue to the users whenever.

@EdgarJP006
Copy link

Hi @kijongGil ,

Thanks for replying. That makes sense to me cause I didn't find any code mentioning cycling around in the code base.
As to the train from the last saved episode, I just would to double check to make sure I found the place currently:
set the "self.load_model = true" and "self.load_episode = last saved episode number which can be found in the save_model folder"

Is that correct?

Thanks!

your recommendation worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants