Views
No views yet
1from huggingface_hub import snapshot_download
2import torch as tr
3
4repo = snapshot_download("ai417upm/A4_4311950_Sana")
5
6model = tr.hub.load(repo, "DummyNet", source="local")
7model.eval()
8output = model(tr.randn(2, 784))
9
10model = tr.hub.load(repo, "VanillaNet", source="local")
11model.eval()
12output = model(tr.randn(2, 784))