Closed andrewilyas closed 3 years ago
Fixed on master. Workaround for current PyPI version of the library:
>>> from robustness import datasets
>>> ds = datasets.CIFAR("")
>>> ds.custom_class = None
This should be fixed in the latest version, closing!
Overriding custom class with None doesn't work, since the library takes
None
to mean nothing is provided: