Loading
Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more

crowdAI is shutting down - please read our blog post for more information

NIPS 2017: Learning to Run

Reinforcement learning environments with musculoskeletal models


Completed
2154
Submissions
630
Participants
92466
Views

The simulator gets stuck when calling reset() function.

Posted by Yongjin about 2 years ago

The simulator often gets stuck when calling reset() function.

I traced the function calls starting from reset() and it stops at

xs = np.random.uniform(1.0, 5.0, num_obstacles) # line 235 in generate_env() of run.py

and does not return.

Currently, I am working on Python 3.6.2 and Numpy 1.13.1.

Does anyone have similar problems?

Posted by Yongjin  about 2 years ago |  Quote

I see the problem when I create multiple environments using multi-processes.

For now, my best guess is that np.random.uniform() is not thread-safe.