-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (92 loc) · 2.22 KB
/
pyproject.toml
File metadata and controls
101 lines (92 loc) · 2.22 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "geobench"
version = "1.0.1"
description = "A benchmark designed to advance foundation models for Earth monitoring, tailored for remote sensing. It encompasses six classification and six segmentation tasks, curated for precision and model evaluation. The package also features a comprehensive evaluation methodology and showcases results from 20 established baseline models."
authors = [
"Alexandre Lacoste <alexandre.lacoste@servicenow.com>",
"Nils Lehmann",
"Pau Rodriguez",
"Evan David Sherwin",
"Hannah Kerner",
"Björn Lütjens",
"Jeremy Andrew Irvin",
"David Dao",
"Hamed Alemohammad",
"Alexandre Drouin",
"Mehmet Gunturkun",
"Gabriel Huang",
"David Vazquez",
"Dava Newman",
"Yoshua Bengio",
"Stefano Ermon",
"Xiao Xiang Zhu"
]
license = "Apache-2.0"
packages = [
{ include = "geobench" }
]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.9.0,<3.13"
# torch = "^1.12.0" # optional dependencies
h5py = ">=3.8.0"
pandas = ">=1.5.3"
seaborn = ">=0.12.2"
tqdm = ">=4.65.0"
scipy = ">=1.11.2"
rasterio = ">=1.3.8"
requests = ">=2.26.0"
huggingface_hub = ">=0.19.3"
[tool.poetry.dev-dependencies]
black = "^22.3.0"
pytest = "^7.1.2"
pytest-cov = "^3.0.0"
isort = "^5.10.1"
colorama = "^0.4.4"
flake8 = "^4.0.1"
pydocstyle = "^6.1.1"
ipyleaflet = "^0.17.2"
ipyplot = "^1.1.1"
torchgeo = { git = "https://github.com/microsoft/torchgeo.git" }
torchvision = "^0.13.0"
xmltodict = "^0.12.0"
sickle = "^0.7.0"
tifffile = ">=2023.8.25"
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
line_length = 100
[tool.flake8]
max-line-length = 100
max-complexity = 23
[tool.mypy]
ignore_missing_imports = true
show_error_codes = true
exclude = "(docs|data)/"
[tool.black]
line-length = 100
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.pytest.ini_options]
filterwarnings = [
"ignore::PossibleUserWarning",
]
[tool.poetry.scripts]
geobench-download = "geobench.geobench_download:download_benchmark"
geobench-test = "geobench.tests.launch_pytest:start"