DeepGlobe-Road-Extraction-Challenge icon indicating copy to clipboard operation
DeepGlobe-Road-Extraction-Challenge copied to clipboard

When I run the "test.py", to about 58, there will be occur the error "ValueError: Axes=(0, 1) out of range for array of ndim=0."

Open GusRoth opened this issue 6 years ago • 3 comments

Traceback (most recent call last): File "test.py", line 149, in mask = solver.test_one_img_from_path(source+name) File "test.py", line 32, in test_one_img_from_path return self.test_one_img_from_path_2(path) File "test.py", line 94, in test_one_img_from_path_2 img90 = np.array(np.rot90(img)) File "/home/yangzihao/.conda/envs/py27/lib/python2.7/site-packages/numpy/lib/function_base.py", line 121, in rot90 .format(axes, m.ndim)) ValueError: Axes=(0, 1) out of range for array of ndim=0.

I don't konw how to solve this, please help me orz

GusRoth avatar Nov 29 '18 14:11 GusRoth