Views
No views yet
1import torch
2from huggingface_hub import hf_hub_download
3
4# Download model
5checkpoint_path = hf_hub_download(
6 repo_id="pandurangpatil/imagenet10trial",
7 filename="best_model.pth"
8)
9
10# Load checkpoint
11checkpoint = torch.load(checkpoint_path, map_location='cpu', weights_only=False)
12
13# Load model (you'll need to have the model definition)
14# from models import get_model
15# model = get_model('resnet50-pytorch', num_classes=10)
16# model.load_state_dict(checkpoint['model_state_dict'])
17# model.eval()best_model.pth - Best performing model checkpointtraining_curves.png - Training/test accuracy and loss curveslr_finder_plot.png - Learning rate finder resultsmetrics.json - Complete training historyconfig.json - Hyperparameter configuration1@misc{resnet50-pytorch-imagenette,
2 title = {ImageNette resnet50-pytorch},
3 year = {2025},
4 publisher = {HuggingFace},
5 url = {https://huggingface.co/pandurangpatil/imagenet10trial}
6}