-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
53 lines (47 loc) · 1.17 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
[build-system]
requires = ["setuptools>=64", "setuptools_scm[toml]>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "ptychopinn"
description = "PtychoPINN is an unsupervised physics-informed neural network reconstruction method for scanning CDI"
readme = "README.md"
requires-python = ">=3.10,<3.12"
license = {file = "LICENSE"}
dependencies = [
"Pillow",
"dill",
"imageio",
"ipywidgets",
"jupyter",
"matplotlib",
"numba",
"numpy",
"opencv-python",
"pandas",
"pandas-datareader",
"pathos",
"scikit-image",
"scikit-learn",
"scipy",
"tensorflow[and-cuda]>=2.13.0,<2.16.0",
"tensorflow-addons>=0.23.0",
"tensorflow-datasets",
"tensorflow-hub",
"tensorflow-metadata",
"tensorflow-probability<0.23.0", # This version works with TF 2.15
"torchmetrics",
"torchvision",
"tqdm",
"ujson",
]
dynamic = ["version"]
[project.scripts]
ptycho_train = "scripts.training.train:main"
ptycho_inference = "scripts.inference.inference:main"
[tool.setuptools.package-data]
datasets = ["*.npz"]
[tool.setuptools.packages.find]
where = ["."]
[tool.setuptools_scm]
[tool.ruff]
target-version = "py310"