We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexError Traceback (most recent call last) in 12 p_numpy = p.detach().cpu().numpy()[0] 13 ---> 14 dc.visualize(xo[:,:,:3],p_numpy,65)
~/DeepColoring-master/deepcoloring/utils.py in visualize(x_np, y_np, min_point, draw_text, cmap) 289 cmap = matplotlib.colors.LinearSegmentedColormap.from_list('xxx', [color_map[color_index], color_map[color_index2]]) 290 ax[index / 3, index % 3].imshow(y_np[index, :, :], vmin=0, vmax=1, cmap=cmap) --> 291 292 return f1, f2 293
IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices
:
...
None
The text was updated successfully, but these errors were encountered:
No branches or pull requests
IndexError Traceback (most recent call last)
in
12 p_numpy = p.detach().cpu().numpy()[0]
13
---> 14 dc.visualize(xo[:,:,:3],p_numpy,65)
~/DeepColoring-master/deepcoloring/utils.py in visualize(x_np, y_np, min_point, draw_text, cmap)
289 cmap = matplotlib.colors.LinearSegmentedColormap.from_list('xxx', [color_map[color_index], color_map[color_index2]])
290 ax[index / 3, index % 3].imshow(y_np[index, :, :], vmin=0, vmax=1, cmap=cmap)
--> 291
292 return f1, f2
293
IndexError: only integers, slices (
:
), ellipsis (...
), numpy.newaxis (None
) and integer or boolean arrays are valid indicesThe text was updated successfully, but these errors were encountered: