Closed KantaphatLeelakunwet closed 2 months ago
Hi @KantaphatLeelakunwet , well the error says that both eval and train env should be of the same type, and that they are not. You should probably create two independent vectorized envs. Both in the same way.
However, I have not used a separate eval env yet. Maybe the people over at the stablebaselines3 repository are the better people to ask.
Hi @ScheiklP, I would like to get some results from the evaluation during training, so I added the
EvalCallback
to thecallback_list
insofa_zoo/common/sb3_setup.py
. I also created another evaluation environment calledeval_env
by directly assigningenv
. (I have triedcopy.deepcopy
but it throws max depth recursion error.) A few modifications have been made to lines 150-160.However, the type error occur. The error message is below.
Do you know what might be the problem here? Thank you in advance!