Trials did not complete

Hi,
I am beginner in Rllib.
I downloaded the following code and run it on TF.

But I got this error:
TuneError: ('Trials did not complete', [PPO_SimpleCorridor_e5404_00000, PPO_SimpleCorridor_e5404_00001, PPO_SimpleCorridor_e5404_00002])

Would you please help me to figure out how to resolve it?
Thanks

I fixed this issue by adding the following line to the __init__ method of the custom_model:
self.register_variables(self.model.variables())

1 Like

This could be due to you using a prior version of RLlib (which did require to register all TFModelV2 weights manually). This should be fixed in the latest master. I just tried this again to confirm. This script is also part of our per-PR regression test suite.

Yes, meanwhile the self.register_variables makes it not runnable at all, so hopefully this is no longer a source of issues :wink: