minerllabs / competition_submission_template

The submission template for the MineRL Competition @ NeurIPS 2021. Clone this to make a new submission!
92 stars 21 forks source link

"waiting for redis connection" forever when running docker_eval #14

Closed kaixin96 closed 5 years ago

kaixin96 commented 5 years ago

When I run docker_evaluation.sh, the script hangs in "waiting for redis connection".

russelltankl commented 5 years ago

Same for me. This is the error I got.


{'state': 'FINISHED', 'score': {'score': 0.0, 'score_secondary': 0.0}, 'instances': {'1': {'state': 'ERROR', 'episodes': [], 'score': {'score': 0.0, 'score_secondary': 0.0}, 'totalNumberSteps': 0}}}
DEBUG:crowdai_api.events:Registering crowdAI API Event : CROWDAI_EVENT_SUCCESS  {'state': 'FINISHED', 'score': {'score': 0.0, 'score_secondary': 0.0}, 'instances': {'1': {'state': 'ERROR', 'episodes': [], 'score': {'score': 0.0, 'score_secondary': 0.0}, 'totalNumberSteps': 0}}} # with_oracle? : True
DEBUG:crowdai_api.events:Waiting for redis connection...
skbly7 commented 5 years ago

The issue was identified due to CROWDAI_IS_GRADING variable in script which activates evaluator and needs redis for communication. This is now fixed by commit#https://github.com/minerllabs/competition_submission_starter_template/commit/53ad35a8cff9ee217d5ab58313800dfd12142f8c.