Swiss Knife Pack — AI417 A4 (FashionMNIST)

A small “plug-and-play” TorchHub repo that exposes two models trained on FashionMNIST:

  • dummyNet → linear-only baseline
  • vanillaNet → MLP with non-linearity

Who / What

  • Student: Anas
  • UPM ID: 4312330
  • Course: AI417
  • Assignment: A4 (Swiss Knife)

Quick start (30 seconds)

from 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])
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train AI417UPM/A4_4312330_Anas