Views
No views yet
huggingface_hub is installed:pip(3) install huggingface_hub1from huggingface_hub import snapshot_download
2snapshot_download(repo_id="muellerzr/fastai-pets-resnet-34")1cd fastai-pets-resnet34
2pip(3) install -r requirements.txtLearner and predict1from fastai.learner import load_learner
2learn = load_learner('model.pth')
3pred = learn.predict('myImage.jpg')