Skip to content

Commit

Permalink
fix import (#1181)
Browse files Browse the repository at this point in the history
  • Loading branch information
elephantmipt committed Apr 18, 2021
1 parent 54bfc8f commit 94024a4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions catalyst/contrib/datasets/__init__.py
Expand Up @@ -2,10 +2,11 @@

from catalyst.settings import SETTINGS

from catalyst.contrib.datasets.market1501 import (
Market1501MLDataset,
Market1501QGDataset,
)
if SETTINGS.cv_required: # we need imread function here
from catalyst.contrib.datasets.market1501 import (
Market1501MLDataset,
Market1501QGDataset,
)

from catalyst.contrib.datasets.mnist import (
MnistMLDataset,
Expand Down

0 comments on commit 94024a4

Please sign in to comment.