Spaces:
Sleeping
Sleeping
added readme and requirements
Browse files- README.md +11 -35
- requirements.txt +2 -0
README.md
CHANGED
|
@@ -1,35 +1,11 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
set HTTPS_PROXY=http://proxy-us-austin.gemalto.com:8080
|
| 13 |
-
pip install fastai fastbook scikit-image
|
| 14 |
-
pip install gradio==3.50
|
| 15 |
-
```
|
| 16 |
-
|
| 17 |
-
## Get Images
|
| 18 |
-
```bash
|
| 19 |
-
python get_data.py <target path> <images count> <one or more pattern kinds>
|
| 20 |
-
```
|
| 21 |
-
|
| 22 |
-
## Train the neural network
|
| 23 |
-
```bash
|
| 24 |
-
python train.py <images path> <epochs count>
|
| 25 |
-
```
|
| 26 |
-
|
| 27 |
-
## Predicting in colsole
|
| 28 |
-
```bash
|
| 29 |
-
python predict.py <image path>
|
| 30 |
-
```
|
| 31 |
-
|
| 32 |
-
## Running the UI on http://localhost
|
| 33 |
-
```bash
|
| 34 |
-
python app.py
|
| 35 |
-
```
|
|
|
|
| 1 |
+
title: Разпознавач на шевици
|
| 2 |
+
short_description: Разпознавач на български, индийски и японски текстил и шевици
|
| 3 |
+
emoji: 🇧🇬
|
| 4 |
+
colorFrom: green
|
| 5 |
+
colorTo: white
|
| 6 |
+
python_version: 3.11
|
| 7 |
+
sdk: gradio
|
| 8 |
+
sdk_version: 4.19.2
|
| 9 |
+
app_file: app.py
|
| 10 |
+
pinned: false
|
| 11 |
+
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requirements.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
transformers
|
| 2 |
+
torch
|