Closed hermmanhender closed 1 year ago
Hi @hermmanhender and thank you for reporting this issue.
I've tested in the base code the following:
ray.util.inspect_serializability(EnergyPlusEnv({}))
ray.util.inspect_serializability(EnergyPlusRunner(1, {}, Queue(), Queue()))
and it passes ok.
The output of ray serialization inspector indicates the issue stands in EnergyPlusRunner._init_handles()
. Have you checked specifically this method? You can also share that portion of your code if you want me to have a look.
Thanks for the response!
I've checked the method. In that portion of code I didn't change anything of the original file.
I implemented the code in Colab and I found that the exit()
function in EnergyPlusRunner._init_handles()
and exit()
function in EnergyPlusEnv.step()
are the issues in the serilization.
I commented these lines and the function was good.
Probably is a Colab issue with exit()
function.
Hello! I have tried to modify the
run.py
file to be able to build the algorithm and be able to train it directly with RLlib (ie without using Tune). When I run the commandalgo=config.build()
it tells me that it is not serializable. With the help ofray.util.inspect_serializability
I have obtained the following message:This is a mistake? How can I fix it? Thank you