|
Download README.md from TalalWasim/CIFAR10_UP_DOWN_Classifier: direct link, hf CLI and curl.
- Browser
- Download file 769 Bytes
-
https://huggingface.co/TalalWasim/CIFAR10_UP_DOWN_Classifier/resolve/main/README.md
- Command line
-
hf download hf://TalalWasim/CIFAR10_UP_DOWN_Classifier/README.md
-
curl -L -o README.md https://huggingface.co/TalalWasim/CIFAR10_UP_DOWN_Classifier/resolve/main/README.md
769 Bytes
metadata
framework: pytorch
model: EfficientNet-B1
dataset: >-
CIFAR10 (restructured to have random upright and upside-down samples, with
labels {0:'up', 1:'down'}
imgSize: 224x224x3
This repository contains model trained to predict orientation {0:'up', 1:'down'} of images. The model '.pkl' file contains a dictionary with the following keys:
'optimizer': optimizer state dictionary
'scheduler': scheduler state dictionary
'model': model state dictionary
'epoch': checkpoint epoch
The image size is 3x224x224. The model can be initialized as:
model = torchvision.models.efficientnet_b1(pretrained=True)
in_features = model.classifier[1].in_features
out_features = 2
model.classifier[1] = nn.Linear(in_features, out_features, bias=True)