Compare commits
3 Commits
9e22bd0e20
...
2c09745a9f
Author | SHA1 | Date | |
---|---|---|---|
2c09745a9f | |||
beb7c5e337 | |||
19705527a0 |
@ -53,7 +53,7 @@ Tagging galleries
|
||||
The appropriate invocation depends on your machine, and the chosen model.
|
||||
Unless you have a powerful machine, or use a fast model, it may take forever.
|
||||
|
||||
$ find "$GALLERY/images" -type f \
|
||||
$ find "$GALLERY/images" -type l \
|
||||
| build/deeptagger --pipe -b 16 -t 0.5 \
|
||||
models/ml_caformer_m36_dec-5-97527.model \
|
||||
| sed 's|[^\t]*/||' \
|
||||
|
@ -28,11 +28,9 @@ run() {
|
||||
for model in models/*.model
|
||||
do
|
||||
name=$(sed -n 's/^name=//p' "$model")
|
||||
run "" 1 "$model" "$@"
|
||||
run "" 4 "$model" "$@"
|
||||
run "" 16 "$model" "$@"
|
||||
|
||||
run --cpu 1 "$model" "$@"
|
||||
run --cpu 4 "$model" "$@"
|
||||
run --cpu 16 "$model" "$@"
|
||||
for batch in 1 4 16
|
||||
do
|
||||
run "" $batch "$model" "$@"
|
||||
run --cpu $batch "$model" "$@"
|
||||
done
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user