Add wd14 v3 models.
This commit is contained in:
@@ -13,7 +13,8 @@ pip install -r requirements.txt
|
||||
## usage
|
||||
|
||||
```
|
||||
usage: run.py [-h] (--dir DIR | --file FILE) [--threshold THRESHOLD] [--ext EXT] [--overwrite] [--cpu] [--model {wd14-vit.v1,wd14-vit.v2,wd14-convnext.v1,wd14-convnext.v2,wd14-convnextv2.v1,wd14-swinv2-v1,wd-v1-4-moat-tagger.v2,mld-caformer.dec-5-97527,mld-tresnetd.6-30000}]
|
||||
usage: run.py [-h] (--dir DIR | --file FILE) [--threshold THRESHOLD] [--ext EXT] [--overwrite] [--cpu] [--rawtag]
|
||||
[--model {wd14-vit.v1,wd14-vit.v2,wd14-convnext.v1,wd14-convnext.v2,wd14-convnextv2.v1,wd14-swinv2-v1,wd-v1-4-moat-tagger.v2,wd-v1-4-vit-tagger.v3,wd-v1-4-convnext-tagger.v3,wd-v1-4-swinv2-tagger.v3,mld-caformer.dec-5-97527,mld-tresnetd.6-30000}]
|
||||
|
||||
options:
|
||||
-h, --help show this help message and exit
|
||||
@@ -24,7 +25,8 @@ options:
|
||||
--ext EXT Extension to add to caption file in case of dir option (default is .txt)
|
||||
--overwrite Overwrite caption file if it exists
|
||||
--cpu Use CPU only
|
||||
--model {wd14-vit.v1,wd14-vit.v2,wd14-convnext.v1,wd14-convnext.v2,wd14-convnextv2.v1,wd14-swinv2-v1,wd-v1-4-moat-tagger.v2,mld-caformer.dec-5-97527,mld-tresnetd.6-30000}
|
||||
--rawtag Use the raw output of the model
|
||||
--model {wd14-vit.v1,wd14-vit.v2,wd14-convnext.v1,wd14-convnext.v2,wd14-convnextv2.v1,wd14-swinv2-v1,wd-v1-4-moat-tagger.v2,wd-v1-4-vit-tagger.v3,wd-v1-4-convnext-tagger.v3,wd-v1-4-swinv2-tagger.v3,mld-caformer.dec-5-97527,mld-tresnetd.6-30000}
|
||||
modelname to use for prediction (default is wd14-convnextv2.v1)
|
||||
```
|
||||
|
||||
@@ -50,6 +52,9 @@ python run.py --file image.jpg --model wd14-convnext.v2
|
||||
python run.py --file image.jpg --model wd14-convnextv2.v1
|
||||
python run.py --file image.jpg --model wd14-swinv2-v1
|
||||
python run.py --file image.jpg --model wd-v1-4-moat-tagger.v2
|
||||
python run.py --file image.jpg --model wd-v1-4-vit-tagger.v3
|
||||
python run.py --file image.jpg --model wd-v1-4-convnext-tagger.v3
|
||||
python run.py --file image.jpg --model wd-v1-4-swinv2-tagger.v3
|
||||
python run.py --file image.jpg --model mld-caformer.dec-5-97527
|
||||
python run.py --file image.jpg --model mld-tresnetd.6-30000
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user