Traceback (most recent call last):
File "forward.py", line 134, in
main()
File "forward.py", line 98, in main
means = get_mean_npy(mean_file, crop_size = batch_shape[2:], isColor = is_color)
File "forward.py", line 20, in get_mean_npy
(_shape[3] - crop_size[1]) / 2:(_shape[3] + crop_size[1]) / 2]
TypeError: slice indices must be integers or None or have an index method
Traceback (most recent call last):
File "forward.py", line 134, in
main()
File "forward.py", line 98, in main
means = get_mean_npy(mean_file, crop_size = batch_shape[2:], isColor = is_color)
File "forward.py", line 20, in get_mean_npy
(_shape[3] - crop_size[1]) / 2:(_shape[3] + crop_size[1]) / 2]
TypeError: slice indices must be integers or None or have an index method