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 am trying to train some models (ResNet-50, MobileNetV2) from scratch on CIFAR-100 using the configuration files provided in mmpretrain without any changes, but my models always have much less top-1 accuracy than the one reported in MMPretrain. For example, for ResNet-50, I got the best top-1 accuracy of 63.93% after training for 200 epochs, but on MMPretrain website, ResNet-50 has an accuracy of 79.90% on CIFAR-100.
Similarly, for MobileNetV2, my model does not learn anything and accuracy goes down to 1% pretty early in the training and then stays there.
Branch
main branch (mmpretrain version)
Describe the bug
I am trying to train some models (ResNet-50, MobileNetV2) from scratch on CIFAR-100 using the configuration files provided in mmpretrain without any changes, but my models always have much less top-1 accuracy than the one reported in MMPretrain. For example, for ResNet-50, I got the best top-1 accuracy of 63.93% after training for 200 epochs, but on MMPretrain website, ResNet-50 has an accuracy of 79.90% on CIFAR-100.
Similarly, for MobileNetV2, my model does not learn anything and accuracy goes down to 1% pretty early in the training and then stays there.
Environment
{
'sys.platform': 'linux',
'Python': '3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]',
'CUDA available': True,
'MUSA available': False,
'numpy_random_seed': 2147483648,
'GPU 0': 'Quadro RTX 6000',
'CUDA_HOME': '/usr/local/cuda',
'NVCC': 'Cuda compilation tools, release 12.1, V12.1.105',
'GCC': 'x86_64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0',
'PyTorch': '2.1.0+cu121',
'TorchVision': '0.16.0+cu121',
'OpenCV': '4.7.0',
'MMEngine': '0.10.3',
'MMCV': '2.1.0',
'MMPreTrain': '1.2.0+c77f9ae'
}
Other information
I am using configs directly from MMPretrain without any modification. For example, I use this: https://github.com/open-mmlab/mmpretrain/blob/main/configs/resnet/resnet50_8xb16_cifar100.py for ResNet-50. For MobileNetV2, I copied the ResNet config and changed the model to mobilenet (line 1).
The text was updated successfully, but these errors were encountered: