-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (49 loc) · 1.47 KB
/
pyproject.toml
File metadata and controls
58 lines (49 loc) · 1.47 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[project]
name = "cv-is-dead"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"asynciolimiter>=1.2.0",
"google-genai>=1.52.0",
"matplotlib>=3.10.7",
"openai>=2.8.1",
"pillow>=12.0.0",
"torch>=2.9.1",
"torchmetrics>=1.8.2",
"torchvision>=0.24.1",
"tqdm>=4.67.1",
"panopticapi",
"pycocotools>=2.0.10",
"pydantic>=2.12.4",
]
[dependency-groups]
dev = [
"ipykernel>=7.1.0",
"ipywidgets>=8.1.8",
"poethepoet>=0.37.0",
"ruff>=0.14.5",
]
[tool.uv.sources]
panopticapi = { path = "./panopticapi" }
[tool.ruff]
extend-exclude = ["frontend/**", "panopticapi/**"]
[tool.poe.tasks]
format-python = "ruff format"
check-python = "ruff check"
format = ["format-python", "format-frontend"]
[tool.poe.tasks.format-frontend]
cmd = "bun run format"
cwd = "frontend"
[tool.poe.tasks.check-frontend]
cmd = "bun run lint"
cwd = "frontend"
[tool.poe.tasks.setup-frontend]
cmd = "bun install"
cwd = "frontend"
[tool.poe.tasks.run-frontend]
cmd = "bun dev"
cwd = "frontend"
[tool.poe.tasks.convert-coco-panoptic-to-semantic-segmentation]
cmd = "uv run python panopticapi/converters/panoptic2semantic_segmentation.py --input_json_file coco-dataset/annotations/panoptic_val2017.json --segmentations_folder coco-dataset/annotations/panoptic_val2017 --semantic_seg_folder coco-dataset/semantic_segmantation_val2017 --categories_json_file panopticapi/panoptic_coco_categories.json"