-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
39 lines (39 loc) · 2.23 KB
/
Copy pathpackage.json
File metadata and controls
39 lines (39 loc) · 2.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"name": "path-finder",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"assets:sample": "python3 scripts/build_sample_assets.py",
"ingest:images": "python3 scripts/ingest_images.py",
"models:dinov2": "python3 scripts/export_dinov2_onnx.py",
"models:coreml": "uv run --with coremltools --with torch --with transformers --with numpy python scripts/export_coreml.py",
"models:r2:put": "wrangler r2 object put path-finder-models/models/dinov2-small-embed-int8.onnx --file artifacts/models/dinov2-small-embed-int8.onnx --content-type application/octet-stream --remote",
"benchmark:models": "python3 scripts/benchmark_candidate_models.py",
"benchmark:core-models": "uv run --with numpy --with pillow --with torch --with torchvision --with transformers --with onnxruntime --with huggingface-hub python scripts/benchmark_candidate_models.py --models dinov2-small mobileclip2-s0-onnx",
"evaluate:thresholds": "uv run --with numpy python scripts/evaluate_thresholds.py",
"sweep:thresholds": "python3 scripts/sweep_thresholds.py",
"georef:polycam": "node scripts/georeference_polycam.mjs",
"rerank:orb": "uv run --with numpy --with opencv-python-headless python scripts/rerank_orb.py",
"rerank:sift": "uv run --with numpy --with opencv-python-headless python scripts/rerank_sift.py",
"server:embed": "uv run --with fastapi --with uvicorn --with python-multipart --with pillow --with numpy --with torch --with torchvision --with transformers --with onnxruntime --with huggingface-hub uvicorn services.embed_api.main:app --host 127.0.0.1 --port 8790",
"test:embed-api": "uv run --with fastapi --with python-multipart --with pillow --with httpx python -m unittest tests_py.test_embed_api",
"vectorize:sample": "node scripts/export_sample_vectorize.mjs",
"dev": "vite --host 127.0.0.1",
"build": "vite build",
"test": "vitest run",
"preview": "vite preview --host 127.0.0.1",
"worker:dev": "wrangler dev --local",
"worker:deploy": "wrangler deploy"
},
"dependencies": {
"@vitejs/plugin-basic-ssl": "^2.1.0",
"onnxruntime-web": "^1.23.2"
},
"devDependencies": {
"typescript": "^5.9.3",
"vite": "^7.2.7",
"vitest": "^4.0.16",
"wrangler": "^4.56.0"
}
}