Advertisement
SansPapyrus683

Error

Jul 4th, 2022
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.29 KB | None | 0 0
  1. ? ?
  2. ????? ?????
  3. ????????? ????????
  4. ????????? ????????? ???
  5. ????????? ????????? ???? ???? ??? ???
  6. ?????????????????????????? ???? ???? ????????? ??? ?????? ???? ???
  7. ????? ???????????? ????? ???? ???? ????? ???? ??? ?????? ??? ???
  8. ????? ????? ????? ???? ???? ???? ??? ??? ??? ???????
  9. ???? ???? ????? ???????????? ???? ??? ??? ????? ?????
  10. ? ??? ???? ???? ???????? ???? ??? ??? ???? ????
  11. ?????????????????????? ?????
  12. ????????????????
  13. ????????
  14. ?
  15.  
  16. Version information:
  17. ml-agents: 0.29.0,
  18. ml-agents-envs: 0.29.0,
  19. Communicator API: 1.5.0,
  20. PyTorch: 1.12.0+cpu
  21. [INFO] Listening on port 5004. Start training by pressing the Play button in the Unity Editor.
  22. [INFO] Connected to Unity environment with package version 2.0.1 and communication version 1.5.0
  23. [INFO] Connected new brain: BoxPerson?team=0
  24. [WARNING] Deleting TensorBoard data events.out.tfevents.1656957925.KevinDesktop.3480.0 that was left over from a previous run.
  25. [WARNING] Deleting TensorBoard data events.out.tfevents.1656957925.KevinDesktop.3480.0.meta that was left over from a previous run.
  26. [INFO] Hyperparameters for behavior name BoxPerson:
  27. trainer_type: ppo
  28. hyperparameters:
  29. batch_size: 32
  30. buffer_size: 256
  31. learning_rate: 0.0003
  32. beta: 0.005
  33. epsilon: 0.2
  34. lambd: 0.95
  35. num_epoch: 5
  36. learning_rate_schedule: linear
  37. beta_schedule: linear
  38. epsilon_schedule: linear
  39. network_settings:
  40. normalize: False
  41. hidden_units: 256
  42. num_layers: 3
  43. vis_encode_type: simple
  44. memory: None
  45. goal_conditioning_type: hyper
  46. deterministic: False
  47. reward_signals:
  48. extrinsic:
  49. gamma: 0.9
  50. strength: 1.0
  51. network_settings:
  52. normalize: False
  53. hidden_units: 128
  54. num_layers: 2
  55. vis_encode_type: simple
  56. memory: None
  57. goal_conditioning_type: hyper
  58. deterministic: False
  59. init_path: None
  60. keep_checkpoints: 5
  61. checkpoint_interval: 500000
  62. max_steps: 500000
  63. time_horizon: 3
  64. summary_freq: 2000
  65. threaded: False
  66. self_play: None
  67. behavioral_cloning: None
  68. C:\Users\kevin\AppData\Local\Programs\Python\Python37\lib\site-packages\mlagents\trainers\torch\networks.py:91: UserWarning: Creating a tensor from a list of numpy.ndarrays is extremely slow. Please consider converting the list to a single numpy.ndarray with numpy.array() before converting to a tensor. (Trigger
  69. ed internally at C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\torch\csrc\utils\tensor_new.cpp:204.)
  70. enc.update_normalization(torch.as_tensor(vec_input))
  71. C:\Users\kevin\AppData\Local\Programs\Python\Python37\lib\site-packages\mlagents\trainers\torch\utils.py:320: UserWarning: The use of `x.T` on tensors of dimension other than 2 to reverse their shape is deprecated and it will throw an error in a future release. Consider `x.mT` to transpose batches of matricesor
  72. `x.permute(*torch.arange(x.ndim - 1, -1, -1))` to reverse the dimensions of a tensor. (Triggered internally at C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\TensorShape.cpp:2985.)
  73. return (tensor.T * masks).sum() / torch.clamp(
  74. [WARNING] Restarting worker[0] after 'Communicator has exited.'
  75. [INFO] Listening on port 5004. Start training by pressing the Play button in the Unity Editor.
  76. [INFO] Exported results\test\BoxPerson\BoxPerson-782.onnx
  77. [INFO] Copied results\test\BoxPerson\BoxPerson-782.onnx to results\test\BoxPerson.onnx.
  78. Traceback (most recent call last):
  79. File "C:\Users\kevin\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main
  80. "__main__", mod_spec)
  81. File "C:\Users\kevin\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code
  82. exec(code, run_globals)
  83. File "C:\Users\kevin\AppData\Local\Programs\Python\Python37\Scripts\mlagents-learn.exe\__main__.py", line 7, in <module>
  84. File "C:\Users\kevin\AppData\Local\Programs\Python\Python37\lib\site-packages\mlagents\trainers\learn.py", line 260, in main
  85. run_cli(parse_command_line())
  86. File "C:\Users\kevin\AppData\Local\Programs\Python\Python37\lib\site-packages\mlagents\trainers\learn.py", line 256, in run_cli
  87. run_training(run_seed, options, num_areas)
  88. File "C:\Users\kevin\AppData\Local\Programs\Python\Python37\lib\site-packages\mlagents\trainers\learn.py", line 132, in run_training
  89. tc.start_learning(env_manager)
  90. File "C:\Users\kevin\AppData\Local\Programs\Python\Python37\lib\site-packages\mlagents_envs\timers.py", line 305, in wrapped
  91. return func(*args, **kwargs)
  92. File "C:\Users\kevin\AppData\Local\Programs\Python\Python37\lib\site-packages\mlagents\trainers\trainer_controller.py", line 176, in start_learning
  93. n_steps = self.advance(env_manager)
  94. File "C:\Users\kevin\AppData\Local\Programs\Python\Python37\lib\site-packages\mlagents_envs\timers.py", line 305, in wrapped
  95. return func(*args, **kwargs)
  96. File "C:\Users\kevin\AppData\Local\Programs\Python\Python37\lib\site-packages\mlagents\trainers\trainer_controller.py", line 234, in advance
  97. new_step_infos = env_manager.get_steps()
  98. File "C:\Users\kevin\AppData\Local\Programs\Python\Python37\lib\site-packages\mlagents\trainers\env_manager.py", line 124, in get_steps
  99. new_step_infos = self._step()
  100. File "C:\Users\kevin\AppData\Local\Programs\Python\Python37\lib\site-packages\mlagents\trainers\subprocess_env_manager.py", line 420, in _step
  101. self._restart_failed_workers(step)
  102. File "C:\Users\kevin\AppData\Local\Programs\Python\Python37\lib\site-packages\mlagents\trainers\subprocess_env_manager.py", line 328, in _restart_failed_workers
  103. self.reset(self.env_parameters)
  104. File "C:\Users\kevin\AppData\Local\Programs\Python\Python37\lib\site-packages\mlagents\trainers\env_manager.py", line 68, in reset
  105. self.first_step_infos = self._reset_env(config)
  106. File "C:\Users\kevin\AppData\Local\Programs\Python\Python37\lib\site-packages\mlagents\trainers\subprocess_env_manager.py", line 446, in _reset_env
  107. ew.previous_step = EnvironmentStep(ew.recv().payload, ew.worker_id, {}, {})
  108. File "C:\Users\kevin\AppData\Local\Programs\Python\Python37\lib\site-packages\mlagents\trainers\subprocess_env_manager.py", line 101, in recv
  109. raise env_exception
  110. mlagents_envs.exception.UnityTimeOutException: The Unity environment took too long to respond. Make sure that :
  111. The environment does not need user interaction to launch
  112. The Agents' Behavior Parameters > Behavior Type is set to "Default"
  113. The environment and the Python interface have compatible versions.
  114. If you're running on a headless server without graphics support, turn off display by either passing --no-graphics option or build your Unity executable as server build.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement