Update README.md
Browse files
README.md
CHANGED
@@ -12,10 +12,10 @@ model-index:
|
|
12 |
results: []
|
13 |
---
|
14 |
|
15 |
-
#
|
16 |
## Image Regression Model
|
17 |
|
18 |
-
This model was trained with [Image Regression Model Trainer](https://github.com/TonyAssi/ImageRegression/tree/main)
|
19 |
|
20 |
---
|
21 |
|
@@ -33,6 +33,15 @@ Learning Rate:
|
|
33 |
|
34 |
---
|
35 |
|
36 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
|
|
|
12 |
results: []
|
13 |
---
|
14 |
|
15 |
+
# Title
|
16 |
## Image Regression Model
|
17 |
|
18 |
+
This model was trained with [Image Regression Model Trainer](https://github.com/TonyAssi/ImageRegression/tree/main).
|
19 |
|
20 |
---
|
21 |
|
|
|
33 |
|
34 |
---
|
35 |
|
36 |
+
## Usage
|
37 |
+
|
38 |
+
### Inference (Prediction)
|
39 |
+
- **repo_id** 🤗 repo id of the model
|
40 |
+
- **image_path** path to image
|
41 |
+
```python
|
42 |
+
predict(repo_id='-',
|
43 |
+
image_path='image.jpg')
|
44 |
+
```
|
45 |
+
The first time this function is called it'll download the safetensor model. Subsequent function calls will run faster.
|
46 |
|
47 |
|