AustinL commited on
Commit
246ab1e
1 Parent(s): d8fd845

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -26
README.md CHANGED
@@ -1,26 +1,8 @@
1
- ---
2
- tags:
3
- - image-classification
4
- library_name: generic
5
- ---
6
-
7
- # Dog vs Cat Image Classification with FastAI CNN
8
-
9
- Training is based in FastAI [Quick Start](https://docs.fast.ai/quick_start.html). Example training
10
-
11
-
12
- ## Training
13
-
14
- The model was trained as follows
15
-
16
- ```python
17
- path = untar_data(URLs.PETS)/'images'
18
-
19
- def is_cat(x): return x[0].isupper()
20
- dls = ImageDataLoaders.from_name_func(
21
- path, get_image_files(path), valid_pct=0.2, seed=42,
22
- label_func=is_cat, item_tfms=Resize(224))
23
-
24
- learn = cnn_learner(dls, resnet34, metrics=error_rate)
25
- learn.fine_tune(1)
26
- ```
 
1
+ title: AustinL Cat_vs_Dog_v2
2
+ emoji:
3
+ colorFrom: purple
4
+ colorTo: blue
5
+ sdk: gradio
6
+ sdk_version: 3.40.1
7
+ app_file: app.py
8
+ pinned: false