|
Download README.md from AustinL/cat_vs_dog_v2: direct link, hf CLI and curl.
- Browser
- Download file 565 Bytes
-
https://huggingface.co/AustinL/cat_vs_dog_v2/resolve/main/README.md
- Command line
-
hf download hf://AustinL/cat_vs_dog_v2/README.md
-
curl -L -o README.md https://huggingface.co/AustinL/cat_vs_dog_v2/resolve/main/README.md
565 Bytes
metadata
tags:
- image-classification
library_name: generic
Dog vs Cat Image Classification with FastAI CNN
Training is based in FastAI Quick Start. Example training
Training
The model was trained as follows
path = untar_data(URLs.PETS)/'images'
def is_cat(x): return x[0].isupper()
dls = ImageDataLoaders.from_name_func(
path, get_image_files(path), valid_pct=0.2, seed=42,
label_func=is_cat, item_tfms=Resize(224))
learn = cnn_learner(dls, resnet34, metrics=error_rate)
learn.fine_tune(1)