Update README.md
Browse files
README.md
CHANGED
|
@@ -1,16 +1,26 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
|
|
|
| 3 |
---
|
| 4 |
|
| 5 |
-
A classification using mmpretrain trained to classify western images.
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
```
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
```
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
pipeline_tag: image-classification
|
| 4 |
---
|
| 5 |
|
| 6 |
+
A classification using mmpretrain trained to classify western images based on ConvNeXtV2-tiny.Used for classifying anime images based on whether they are in the Western style.
|
| 7 |
|
| 8 |
+
The evaluation accuracy on the validation set is 95%.
|
| 9 |
+
|
| 10 |
+
Trained using 7,000 Western images and 8,000 non-Western images, with the Western training set sampled from e-hentai.
|
| 11 |
+
|
| 12 |
+
Of course, this model also has many shortcomings, such as a very low recognition accuracy for line-drawing images.
|
| 13 |
+
|
| 14 |
+
# How to use
|
| 15 |
+
|
| 16 |
+
Python>=3.9
|
| 17 |
|
| 18 |
```
|
| 19 |
+
Install pytorch
|
| 20 |
+
|
| 21 |
+
pip3 install openmim
|
| 22 |
+
|
| 23 |
+
edit infer.py , change "path = './testimg/'" to your target folder
|
| 24 |
+
|
| 25 |
+
python infer.py
|
| 26 |
```
|