mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
Fix bug in which gym environment could not be imported because of module naming conflicts. (#37)
This commit is contained in:
parent
b1083e92e9
commit
5c89a7ab4e
3 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ def start_ray_local(node_ip_address="127.0.0.1", num_workers=0, worker_path=None
|
|||
Redis hostname and port. The second
|
||||
"""
|
||||
if worker_path is None:
|
||||
worker_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "default_worker.py")
|
||||
worker_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "workers/default_worker.py")
|
||||
# Start Redis.
|
||||
redis_port = start_redis(cleanup=True)
|
||||
redis_address = address(node_ip_address, redis_port)
|
||||
|
|
0
lib/python/ray/workers/__init__.py
Normal file
0
lib/python/ray/workers/__init__.py
Normal file
Loading…
Add table
Reference in a new issue