mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(ml): add preload and fp16 settings for ocr (#23576)
This commit is contained in:
parent
2c50f2e244
commit
a4ae86ce29
6 changed files with 109 additions and 30 deletions
|
|
@ -46,6 +46,11 @@ class ModelSource(StrEnum):
|
|||
PADDLE = "paddle"
|
||||
|
||||
|
||||
class ModelPrecision(StrEnum):
|
||||
FP16 = "FP16"
|
||||
FP32 = "FP32"
|
||||
|
||||
|
||||
ModelIdentity = tuple[ModelType, ModelTask]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue