-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
41 lines (37 loc) · 971 Bytes
/
pyproject.toml
File metadata and controls
41 lines (37 loc) · 971 Bytes
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
[project]
name = "open-thymus-segmentator"
version = "0.1.0"
description = "An open-source tool for automated thymus segmentation in CT scans."
readme = "README.md"
requires-python = ">=3.8, <3.9"
dependencies = [
"torch==1.12.0",
"torchvision==0.13.0",
"torchaudio==0.12.0",
"monai==1.1.0",
"pandas",
"ipykernel",
]
[dependency-groups]
all = [
"fire==0.4.0",
"pytorch-ignite==0.4.10",
"nibabel==4.0.10"
]
[tool.uv.sources]
torch = [
{ index = "pytorch-cu121", marker = "platform_system == 'Linux'" },
{ index = "pytorch-cpu", marker = "platform_system == 'Darwin'" }
]
torchvision = [
{ index = "pytorch-cu121", marker = "platform_system == 'Linux'" },
{ index = "pytorch-cpu", marker = "platform_system == 'Darwin'" }
]
[[tool.uv.index]]
name = "pytorch-cu121"
url = "https://download.pytorch.org/whl/cu121"
explicit = true
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true