Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
@@ -1,26 +1,8 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|