-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
53 lines (48 loc) · 1.35 KB
/
pyproject.toml
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
[project]
name = "lstm-vision"
version = "1.2.0"
description = "LSTMs for computer vision (classification)"
authors = [
{name = "Imahn Shekhzadeh", email = "[email protected]"},
]
license = {text = "MIT license"}
requires-python = ">=3.10"
# https://docs.astral.sh/uv/concepts/projects/dependencies/#platform-specific-dependencies
dependencies = [
"isort==5.12.*",
"black==23.10.*",
"wandb==0.16.*",
"torchinfo==1.8.*",
"prettytable==3.9.*",
"python-dotenv==1.0.*",
"matplotlib>=3.2",
"pre-commit",
"zeus-ml==0.9.*",
"hydra-core==1.3.*",
"typeguard==4.4.*",
"numpy==1.26.*",
"torch==2.1.2",
"torchvision==0.16.2",
]
# https://docs.astral.sh/uv/guides/integration/pytorch/#installing-pytorch
[[tool.uv.index]]
name = "pytorch-cu121"
url = "https://download.pytorch.org/whl/cu121"
explicit = true
[tool.uv.sources]
torch = [
{ index = "pytorch-cu121", marker = "sys_platform == 'linux' or sys_platform == 'win32'" },
]
torchvision = [
{ index = "pytorch-cu121", marker = "sys_platform == 'linux' or sys_platform == 'win32'" },
]
[tool.isort]
profile="black"
line_length=79
# necessary to get `isort` working in Docker container:
overwrite_in_place=true
known_first_party=["utils", "LSTM_model", "options", "train", "evaluate"]
known_third_party=["wandb"]
[tool.black]
line-length = 79
exclude = "setup.py"