ref: Update package mngt and optimize the vector store functions (#115)

* ref: Update download and hash chunk sizes to speed up

* build: Adopt uv with uv.lock and drop requirements.txt

* ref: Centralize softmax helper and minor cleanups
This commit is contained in:
Yakhyokhuja Valikhujaev
2026-05-06 01:47:27 +09:00
committed by GitHub
parent 73fc291930
commit b813dc2ee7
21 changed files with 1894 additions and 190 deletions

View File

@@ -198,7 +198,10 @@ def main():
parser_arg.add_argument('--source', type=str, required=True, help='Image/video path or camera ID (0, 1, ...)')
parser_arg.add_argument('--save-dir', type=str, default='outputs', help='Output directory')
parser_arg.add_argument(
'--model', type=str, default=ParsingWeights.RESNET18, choices=[ParsingWeights.RESNET18, ParsingWeights.RESNET34]
'--model',
type=ParsingWeights,
default=ParsingWeights.RESNET18,
choices=list(ParsingWeights),
)
parser_arg.add_argument(
'--expand-ratio',