-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
66 lines (58 loc) · 1.41 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
54
55
56
57
58
59
60
61
62
63
64
65
66
[project]
name = "sign-vq"
description = "Quantize Sign Language Poses"
version = "0.0.1"
authors = [
{ name = "Amit Moryossef", email = "[email protected]" }
]
readme = "README.md"
dependencies = [
"pose-format>=0.3.2",
"tqdm",
"torch",
"vector-quantize-pytorch",
"pytorch-lightning",
# for inference using a huggingface hosted model
"huggingface-hub"
]
[project.optional-dependencies]
dev = [
"pytest",
"pylint",
"opencv-python",
"wandb",
# to support wandb video logging
"moviepy",
"imageio",
# to support a huggingface dataset, not recommended
"datasets",
"psutil", # To log used memory
]
[tool.yapf]
based_on_style = "google"
column_limit = 120
[tool.pylint]
max-line-length = 120
disable = [
"C0114", # Missing module docstring
"C0115", # Missing class docstring
"C0116", # Missing function or method docstring
"C0415", # Import outside toplevel
]
good-names = ["i", "f", "x", "y"]
[tool.pylint.typecheck]
generated-members = ["torch.*", "numpy.*", "cv2.*"]
[tool.setuptools]
packages = [
"sign_vq",
"sign_vq.data",
]
[tool.setuptools.package-data]
sign_vq = ["**/*.json", "**/*.poseheader"]
[tool.pytest.ini_options]
addopts = "-v"
testpaths = ["sign_vq"]
[project.scripts]
poses_to_codes = "sign_vq.poses_to_codes:main"
codes_to_poses = "sign_vq.codes_to_poses:main"
reconstruct_poses = "sign_vq.pose_reconstruction:main"