YyzHarry / imbalanced-semi-self

[NeurIPS 2020] Semi-Supervision (Unlabeled Data) & Self-Supervision Improve Class-Imbalanced / Long-Tailed Learning
https://arxiv.org/abs/2006.07529
MIT License
735 stars 115 forks source link

Error: No module named 'dataset.resnet_cifar' when running #3

Closed khuongnd closed 3 years ago

khuongnd commented 3 years ago

When I run this command: python train_semi.py --dataset cifar10 --imb_factor 0.02 --imb_factor_unlabel 0.02

I got this error: Traceback (most recent call last): File "train_semi.py", line 15, in from dataset.imbalance_cifar import SemiSupervisedImbalanceCIFAR10 File "/home/insights-user/imbalanced-semi-self/dataset/init.py", line 1, in from .resnet_cifar import * ModuleNotFoundError: No module named 'dataset.resnet_cifar'

YyzHarry commented 3 years ago

Can you please double check you have the right code/structure as in this repo? Since there's no dataset/init.py in the provided code.