Closed malik-ben closed 2 years ago
Not sure if it's correct but i assigned the env I wanted and it seems to work. Guess it's still an issue isnt it or should I close it?
You should not call train_model
(instead, calling learn
function), but also yes, you should assign the training env before continuing learning. See docs on this. Also I highly recommend changing to stable-baselines3 if possible as it is more up-to-date :)
Closing as resolved.
Thank you. I had reached this conclusion and it works since then. The error was on assigning the env before... Also just for uriosity, I manged to use the train function since it does only trigger the learn function... but i'll use learn directly.
Thank you again
Hi,
I might have been coding for too long now but I can't figure out this issue.
I train a model. Save it. Then load it in order to train it again on new data. But when I run the
.train_model()
function, I get the following error. Maybe I'm missing something.