wei-mao-2019 / LearnTrajDep

code for learning trajectory dependencies for human motion prediction
MIT License
244 stars 45 forks source link

An error when running "main_eval.py" #19

Closed YEEKIN closed 2 years ago

YEEKIN commented 2 years ago

Hello! I encountered some problem when trying to run the evaluation code as below:

Traceback (most recent call last): File "main_eval.py", line 342, in main(option) File "main_eval.py", line 134, in main dim_used=dim_used, dct_n=dct_n) File "main_eval.py", line 288, in test t_e[k] += torch.mean(torch.norm(pred_eul[:, j, :] - targ_eul[:, j, :], 2, 1)).cpu().data.numpy()[0] * n IndexError: too many indices for array

The command I typed in was:

python main_eval.py --data_dir "../../QuaterNet/datasets/h3.6m/dataset/"