Trials did not complete

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?

I fixed this issue by adding the following line to the __init__ method of the custom_model:

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.