Skip to content

Commit

Permalink
[Fix] Fix imports in transforms. (#1255)
Browse files Browse the repository at this point in the history
* fix import

* import from mmegine.utils
  • Loading branch information
Francis777 authored Dec 19, 2022
1 parent 458ac4c commit e9f9bb2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mmcls/datasets/transforms/auto_augment.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@

import mmcv
import numpy as np
from mmcv import BaseTransform, RandomChoice
from mmcv.transforms import Compose
from mmcv.transforms import BaseTransform, Compose, RandomChoice
from mmcv.transforms.utils import cache_randomness
from mmengine import is_list_of, is_seq_of
from mmengine.utils import is_list_of, is_seq_of

from mmcls.registry import TRANSFORMS

Expand Down

0 comments on commit e9f9bb2

Please sign in to comment.