Issue with temp_rollout.py
Closed this issue · 6 comments
Hi @AmeerHajAli:
I'm done with configure.sh and preprocess.sh, when i run python temp_rollout.py checkpoints/checkpoint_100/checkpoint-100 --rollout_dir "./tests" --compile , i get the below error in error.txt.
AttributeError: 'NonoeType' object has no attribute 'restore'.
Best Regards
TimHu
Hi TimHu!
Thanks for asking.
Which ray version are you using? and which dependencies did you install?
Hi @AmeerHajAli:
I use ray 0.8.6, tensorflow 2.3.0. I install dependencies : py-spy, jsonschema, colorama, filelock, protobuf, msgpack, pyyaml, grpcio, redis, aiohttp, numpy, click, google for ray. If I train the RL model, and use the generated checkpoint, the inference is ok.
Thanks for your sharing.
Best Regards
TimHu
I think it is because it was generated with an older ray version.
Can you check if it works with ray 0.8.4?
Hi @AmeerHajAli:
I check it with ray 0.8.4 , it works. Thanks for your sharing.
Best Regards
TimHu
Thanks!