-
Notifications
You must be signed in to change notification settings - Fork 38
Description
i set teacher checkpoint in arg,but there is a issue
Traceback (most recent call last):
File "train_multi_bc_deter.py", line 404, in
trainer.train()
File "/home/scq/pycharm_project/visual_wholebody-main/high-level/learning/dagger_trainer.py", line 70, in train
self.single_agent_train()
File "/home/scq/pycharm_project/visual_wholebody-main/high-level/learning/dagger_trainer.py", line 140, in single_agent_train
self.agents.record_transition(student_obs=student_obs,
File "/home/scq/pycharm_project/visual_wholebody-main/high-level/learning/dagger_rnn.py", line 238, in record_transition
self.memory.add_samples(student_obs=student_obs, teacher_obs=teacher_obs, actions=actions, teacher_actions=teacher_actions, rewards=rewards,
File "/home/scq/pycharm_project/visual_wholebody-main/third_party/skrl/skrl/memories/torch/base.py", line 266, in add_samples
self.tensors[name][self.memory_index].copy_(tensor)
TypeError: copy_(): argument 'other' (position 1) must be Tensor, not int