Skip to content

KL value seems None Value #5

Description

@EvanWangZ

Hi,thanks for your great work, However When I run the python InterScene/run.py --task HumanoidLocationSit --cfg_env InterScene/data/cfg/humanoid_location_sit.yaml --cfg_train InterScene/data/cfg/train/rlg/amp_task_location_sit.yaml --motion_file InterScene/data/dataset_samp_sit/dataset_samp_sit.yaml --num_envs 32 --headless Some errors occur.

Traceback (most recent call last):
  File "InterScene/run.py", line 223, in <module>
    main()
  File "InterScene/run.py", line 218, in main
    runner.run(vargs)
  File "/home/anaconda3/envs/skillmimic/lib/python3.8/site-packages/rl_games/torch_runner.py", line 139, in run
    self.run_train()
  File "/home/anaconda3/envs/skillmimic/lib/python3.8/site-packages/rl_games/torch_runner.py", line 125, in run_train
    agent.train()
  File "/home/InterScene/InterScene/learning/common_agent.py", line 132, in train
    train_info = self.train_epoch()
  File "/home/InterScene/InterScene/learning/amp_agent.py", line 266, in train_epoch
    av_kls = torch_ext.mean_list(train_info['kl'])

TypeError: 'NoneType' object is not subscriptable
Could you help me solve this

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions