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 use pytorch imagenet example on a custom dataset. My dataset has nearly 300 categories, and 12000 images totally. The dataset is organized in train and val directories.
alextnet with learning rate 0.1 - python main.py --arch=alexnet dataset
Epoch: [49][0/29] Time 3.213 (3.213) Data 3.137 (3.137) Loss 5.7120 (5.7120) Prec@1 0.781 (0.781) Prec@5 1.172 (1.172)
Epoch: [49][10/29] Time 0.182 (0.869) Data 0.000 (0.713) Loss 5.7154 (5.7094) Prec@1 0.000 (0.426) Prec@5 0.781 (1.456)
Epoch: [49][20/29] Time 2.013 (0.829) Data 1.931 (0.696) Loss 5.7096 (5.7113) Prec@1 0.781 (0.316) Prec@5 2.734 (1.376)
Test: [0/10] Time 3.072 (3.072) Loss 5.7060 (5.7060) Prec@1 0.000 (0.000) Prec@5 0.000 (0.000)
* Prec@1 0.333 Prec@5 1.667
I use pytorch imagenet example on a custom dataset. My dataset has nearly 300 categories, and 12000 images totally. The dataset is organized in
train
andval
directories.python main.py --arch=alexnet dataset
python main.py --arch=alexnet --lr=0.01 dataset
vgg16 with learning rate 0.01 - basically the same as alexnet, the training didn't convergent.
However, I can train this dataset with resnet18:
python main.py --arch=resnet18 --batch-size=128 dataset
The text was updated successfully, but these errors were encountered: