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
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/"