Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

Reference to model is changed when training starts #31

Open
Icemole opened this issue Mar 31, 2021 · 0 comments
Open

Reference to model is changed when training starts #31

Icemole opened this issue Mar 31, 2021 · 0 comments

Comments

@Icemole
Copy link

Icemole commented Mar 31, 2021

Hello. First of all, I am using version 1.0.3 but the issue holds for the latest (1.0.4) version. My problem is that the reference to my model is being messed up with. I need to use the reference to my created model throughout the training, but as soon as the training starts, it suddenly becomes a reference to an Agent, in my case a DQNAgent.

It would be great not to have any side effects when starting the training, since the model variable could still be used after having started the training, as was my case. I have been searching for solutions and I found out that I was not the only one having problems with this: there are some issues on the original repository which indirectly address this as well. As a result, this library (as well as its predecessor) ends up not being fully compatible with some of the original Keras stuff, such as the TensorBoard callback: see keras-rl/keras-rl#255.

@Icemole Icemole changed the title Relevance of set_model in the Agent class Reference to model is changed when training starts Mar 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant