When I execute python ObjectMotionIsolation02_Sintel.py to Generate necessary data for training flow estimation model - warped frame to nullify camera motion and a masks to indicating regions containing non-zero flow, this is the stack-trace of the error I get:
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1605/1605 [00:01<00:00, 1356.54it/s]
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 282/282 [00:00<00:00, 1684.11it/s]
3%|████ | 21/705 [00:00<00:02, 252.83it/s]
index 51 is out of bounds for axis 0 with size 50
Traceback (most recent call last):
File "/mnt/2tb-hdd/harshaM/DeCOMPnet/src/data_generators/ObjectMotionIsolation02_Sintel.py", line 134, in <module>
main()
File "/mnt/2tb-hdd/harshaM/DeCOMPnet/src/data_generators/ObjectMotionIsolation02_Sintel.py", line 123, in main
wrapper01(group='test', set_num=1, frame1_start=7, frame1_step=2, num_steps=2)
File "/mnt/2tb-hdd/harshaM/DeCOMPnet/src/data_generators/ObjectMotionIsolation02_Sintel.py", line 116, in wrapper01
start_generation(frames_data, num_steps)
File "/mnt/2tb-hdd/harshaM/DeCOMPnet/src/data_generators/ObjectMotionIsolation02_Sintel.py", line 65, in start_generation
transformation2 = transformation_matrices[frame2_num].reshape(4, 4)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
IndexError: index 51 is out of bounds for axis 0 with size 50
When I execute
python ObjectMotionIsolation02_Sintel.py
to Generate necessary data for training flow estimation model - warped frame to nullify camera motion and a masks to indicating regions containing non-zero flow, this is the stack-trace of the error I get: