una-dinosauria / 3d-pose-baseline

A simple baseline for 3d human pose estimation in tensorflow. Presented at ICCV 17.
MIT License
1.42k stars 354 forks source link

openpose: IndexError: too many indices for array #120

Closed UdayRockzz closed 5 years ago

UdayRockzz commented 5 years ago

Hello Everyone!

I'm trying to train the model but am getting the following error: python openpose_3dpose_sandbox.py --camera_frame --residual --batch_norm --dropout 0.5 --max_norm --evaluateActionWise --use_sh --epochs 1

experiments\All\dropout_0.5\epochs_1\lr_0.001\residual\depth_2\linear_size1024\batch_size_64\no_procrustes\maxnorm\batch_normalization\use_stacked_hourglass\predict_17
A subdirectory or file -p already exists.
Error occurred while processing: -p.
A subdirectory or file experiments\All\dropout_0.5\epochs_1\lr_0.001\residual\depth_2\linear_size1024\batch_size_64\no_procrustes\maxnorm\batch_normalization\use_stacked_hourglass\predict_17\log already exists.
Error occurred while processing: experiments\All\dropout_0.5\epochs_1\lr_0.001\residual\depth_2\linear_size1024\batch_size_64\no_procrustes\maxnorm\batch_normalization\use_stacked_hourglass\predict_17\log.
INFO:__main__:start reading json files
Traceback (most recent call last):
  File "openpose_3dpose_sandbox.py", line 415, in <module>
    tf.app.run()
  File "C:\Program Files\Anaconda3\envs\pose3Drnn\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run
    _sys.exit(main(argv))
  File "openpose_3dpose_sandbox.py", line 232, in main
    smoothed = read_openpose_json()
  File "openpose_3dpose_sandbox.py", line 129, in read_openpose_json
    drop_curves_plot = show_anim_curves(cache, plt)
  File "openpose_3dpose_sandbox.py", line 31, in show_anim_curves
    x = val[:,o]
IndexError: too many indices for array

OS: Windows 10 Python: 3.6.7

Can anyone help me out with this?

Thanks in Advance

una-dinosauria commented 5 years ago

Closing for lack of activity. Please reopen if the issue is still ongoing.