Skip to content

Commit

Permalink
update import
Browse files Browse the repository at this point in the history
  • Loading branch information
han-cai committed Jul 19, 2023
1 parent a5381c1 commit 101fa22
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion ofa/imagenet_classification/data_providers/imagenet.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(

self._valid_transform_dict = {}
if not isinstance(self.image_size, int):
from ofa.utils.my_dataloader import MyDataLoader
from ofa.utils.my_dataloader.my_data_loader import MyDataLoader

assert isinstance(self.image_size, list)
self.image_size.sort() # e.g., 160 -> 224
Expand Down
2 changes: 0 additions & 2 deletions ofa/utils/my_dataloader/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
from .my_data_loader import *
from .my_data_worker import *
from .my_distributed_sampler import *
from .my_random_resize_crop import *

0 comments on commit 101fa22

Please sign in to comment.