uoft-cs/cifar10
Viewer • Updated • 60k • 128k • 105
How to use SamAdamDay/resnet18_cifar10 with timm:
import timm
model = timm.create_model("hf_hub:SamAdamDay/resnet18_cifar10", pretrained=True)This is a resnet18 model trained on the cifar10 dataset.
To load this model use the timm library and run the following code:
import timm
model = timm.create_model("hf_hub:SamAdamDay/resnet18_cifar10", pretrained=True)
The model was trained using the following command:
./distributed_train.sh --dataset torch/cifar10 --data-dir /root/data --dataset-download --model resnet18 --lr-base 0.3 --epochs 100 --input-size 3 256 256 -mean 0.49139968 0.48215827 0.44653124 --std 0.24703233 0.24348505 0.26158768 --num-classes 10
The model has a test accuracy of 94.73.