Hi,
When using the latest version of medicaltorch (or at least, the one installed by pip), importing the datasets class into the program raises the following error:
from torch._six import string_classes, int_classes
ImportError: cannot import name 'int_classes' from 'torch._six'
I've found that this can be fixed by removing int_classes in the following line in datasets.py:
from torch._six import string_classes, int_classes
and, instead, declaring int_classes = int.
Hi,
When using the latest version of medicaltorch (or at least, the one installed by pip), importing the datasets class into the program raises the following error:
I've found that this can be fixed by removing int_classes in the following line in datasets.py:
and, instead, declaring int_classes = int.