You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into the same problem when running eval_ofa_net.py. Then I uncomment the 10th line "# from .my_dataloader import *" in the file ofa/utils/__init__.py and it works.
`/opt/vitis_ai/conda/envs/vitis-ai-pytorch/lib/python3.6/site-packages/ofa/imagenet_classification/run_manager/run_manager.py in
17 from ofa.utils import get_net_info, cross_entropy_loss_with_soft_target, cross_entropy_with_label_smoothing
18 from ofa.utils import AverageMeter, accuracy, write_log, mix_images, mix_labels, init_models
---> 19 from ofa.utils import MyRandomResizedCrop
20
21 all = ['RunManager']
ImportError: cannot import name 'MyRandomResizedCrop'`
Where is the problem?
The text was updated successfully, but these errors were encountered: