IBBM / Cascaded-FCN

Source code for the MICCAI 2016 Paper "Automatic Liver and Lesion Segmentation in CT Using Cascaded Fully Convolutional NeuralNetworks and 3D Conditional Random Fields"
Other
304 stars 127 forks source link

Issue with imshow in cascaded_unet_inference.ipynb #14

Closed scotwilli closed 7 years ago

scotwilli commented 7 years ago

RuntimeError: Could not create write struct with imshow

which library to use for imshow - opencv or matplotlib?

mohamed-ezz commented 7 years ago

There's a helper function named imshow in the notebook. Internally it uses plt.imshow() (from matplotlib)

scotwilli commented 7 years ago

I added the line import matplotlib.pyplot as plt import dicom import natsort import glob, os import re import matplotlib.pyplot as plt

But still Iam getting the same issue. I uninstalled and re-installed matplotlib. But still couldnt get away with the issue. cascade-net-error

mohamed-ezz commented 7 years ago

You seem to be invoking a wrong imshow. Please check imshow?.

You should be using the imshow defined above, in the notebook