Error when running ML-Agents `RuntimeError: torch.cat(): expected a non-empty list of Tensors`

Hello.
When I run ML-agents, I get the following error message:

File "c:\~~\downloads\ml-agents-release_20 (1)\ml-agents-release_20\ml-agents\mlagents\trainers\torch_entities\action_model.py", line 146, in _get_probs_and_entropy
    entropies = torch.cat(entropies_list, dim=1)
RuntimeError: torch.cat(): expected a non-empty list of Tensors

Does anyone know how to solve this problem?

Version information:
Windows11
Anaconda 
  ml-agents: 0.30.0,.
  ml-agents-envs: 0.30.0,
  Communicator API: 1.5.0, 
  PyTorch: 2.0.1