Spaces:
Runtime error
Runtime error
Download export.py from dgwyer/labrador-classifier: direct link, hf CLI and curl.
- Browser
- Download file 171 Bytes
-
https://huggingface.co/spaces/dgwyer/labrador-classifier/resolve/main/export.py
- Command line
-
hf download hf://spaces/dgwyer/labrador-classifier/export.py
-
curl -L -o export.py https://huggingface.co/spaces/dgwyer/labrador-classifier/resolve/main/export.py
171 Bytes
| from fastai.vision.all import load_learner | |
| #learn = load_learner('export.pkl', cpu=True) | |
| learn = load_learner('export-py11.pkl', cpu=True) | |
| learn.export('export-py11.pkl') | |