Project-MONAI/monai-bootcamp

Error in End-To-End Workflow with MONAI - Solution.ipynb

JHancox opened this issue · 0 comments

When generating the confusion matrix in End-To-End Workflow with MONAI - Solution.ipynb notebook there are a couple of issues:
The line
cax = plt.matshow(cmat, cmap="Turbo", interpolation="nearest")
produces an error saying that 'Turbo' is not supported. Changing it to 'Greys' works. It also fails to accept the rotation parameter in this line:
cax.axes.set_xticks(list(range(len(class_names))), class_names, rotation=270)
Removing that parameter works okay.

This is using Colab with the following config:

MONAI version: 1.0.0
Numpy version: 1.21.6
Pytorch version: 1.13.0+cu116
MONAI flags: HAS_EXT = False, USE_COMPILED = False, USE_META_DICT = False
MONAI rev id: 170093375ce29267e45681fcec09dfa856e1d7e7
MONAI __file__: /usr/local/lib/python3.8/dist-packages/monai/__init__.py

Optional dependencies:
Pytorch Ignite version: 0.4.10
Nibabel version: 3.0.2
scikit-image version: 0.18.3
Pillow version: 7.1.2
Tensorboard version: 2.9.1
gdown version: 4.4.0
TorchVision version: 0.14.0+cu116
tqdm version: 4.64.1
lmdb version: 0.99
psutil version: 5.4.8
pandas version: 1.3.5
einops version: NOT INSTALLED or UNKNOWN VERSION.
transformers version: NOT INSTALLED or UNKNOWN VERSION.
mlflow version: NOT INSTALLED or UNKNOWN VERSION.
pynrrd version: NOT INSTALLED or UNKNOWN VERSION.