Downloads · 30 days
0
AI417UPM/A4_4312330_Anas
A4_4312330_Anas is a image classification model from AI417UPM. Use it when you need a label for an image. It is set up for pytorch. The card lists the license as mit.
A small “plug-and-play” TorchHub repo that exposes two models trained on FashionMNIST:
Downloads · 30 days
0
Access
Public
Updated Feb 22, 2026
Repo size
2.3 MB
Likes
0
Public
Click a slice to open those files.
.bin2.3 MB · 100%
From the Hugging Face model README
A small “plug-and-play” TorchHub repo that exposes two models trained on FashionMNIST:
dummyNet → linear-only baselinevanillaNet → MLP with non-linearityfrom huggingface_hub import snapshot_download
import torch as tr
repo_dir = snapshot_download("AI417UPM/A4_4312330_Anas")
dummy = tr.hub.load(repo_dir, "dummyNet", source="local", pretrained=True).eval()
vanilla = tr.hub.load(repo_dir, "vanillaNet", source="local", pretrained=True).eval()
x = tr.rand(1, 784)
print("dummy logits:", dummy(x).shape) # torch.Size([1, 10])
print("vanilla logits:", vanilla(x).shape) # torch.Size([1, 10])