Closed Rejuy closed 2 years ago
Can you make sure that the actors are generating the data that the learner needs?
For instance can you get data by doing
next(learner._experience_iterator)
I solved this problem by changing some parameters in the program. Thx a lot!
Can you make sure that the actors are generating the data that the learner needs?
For instance can you get data by doing
next(learner._experience_iterator)
@Rejuy - I am facing the same issue, can you share how you solved this issue?
@sguada - next(learner._experience_iterator) is generating the data. At the end of the train function - return reduced_loss_info never gets returned.
Dear authors: Thanks for designing tf_agents! I've encountered a problem when I was running the code of google research project called circuit-training. It created an object of
Learner
(we can call itlearner
). When it came tolearner.run
, it calledlearner._train
. I added some log for help. In the outcome, I found that all log was printed out inlearner._train
, indicating_train
was done. However, inlearner.run
, the log instructions right after callinglearner._train
was never printed out, which means that the function was actually not returned (the whole training process got stuck). How could this happen? I got no idea. Could you give me some advice? Thanks a lot!!!!