edbeeching / godot_rl_agents

An Open Source package that allows video game creators, AI researchers and hobbyists the opportunity to learn complex behaviors for their Non Player Characters or agents
MIT License
942 stars 69 forks source link

Problem with ryllib #34

Closed ryash072007 closed 1 year ago

ryash072007 commented 1 year ago

I just found out that sb3 does not support multiple action spaces, therefore I tried ryllib but I keep hitting this error: (pid=) C:\Users\ryash\AppData\Local\Programs\Python\Python39\python.exe: can't open file 'C:\Users\ryash\Documents\Godot\ RL\try1\RL1\lib\site-packages\ray\_private\workers\default_worker.py': [Errno 2] No such file or directory Full Log: 2022-12-25 22:11:41,256 INFO worker.py:1538 -- Started a local Ray instance. run_name PPO/editor SETTING WORKERS TO 1 {'algorithm': 'PPO', 'stop': {'episode_reward_mean': 5000, 'training_iteration': 1000, 'timesteps_total': 200000000}, 'config': {'env': 'godot', 'env_config': {'framerate': None, 'action_repeat': None, 'show_window': False, 'seed': 0, 'env_path': None}, 'framework': 'torch', 'lambda': 0.95, 'gamma': 0.95, 'vf_clip_param': 1.0, 'clip_param': 0.2, 'entropy_coeff': 0.001, 'entropy_coeff_schedule': None, 'train_batch_size': 1024, 'sgd_minibatch_size': 128, 'num_sgd_iter': 16, 'num_workers': 1, 'lr': 0.003, 'num_envs_per_worker': 16, 'batch_mode': 'truncate_episodes', 'rollout_fragment_length': 16, 'num_gpus': 0, 'model': {'fcnet_hiddens': [32, 32], 'use_lstm': False, 'lstm_cell_size': 32, 'framestack': 4}, 'no_done_at_end': False, 'soft_horizon': False}} (pid=) C:\Users\ryash\AppData\Local\Programs\Python\Python39\python.exe: can't open file 'C:\Users\ryash\Documents\Godot\ RL\try1\RL1\lib\site-packages\ray\_private\workers\default_worker.py': [Errno 2] No such file or directory (pid=) [2022-12-25 22:12:46,563 E 17552 17748] (raylet.exe) worker_pool.cc:524: Some workers of the worker process(20624) have not registered within the timeout. The process is dead, probably it crashed during start.