Skip to content
Snippets Groups Projects

Making use of LightningDataModule and simplification of data loading

Merged Daniel CARRON requested to merge add-datamodule into main
1 file
+ 26
36
Compare changes
  • Side-by-side
  • Inline
+ 26
36
@@ -3,8 +3,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ptbench"
@@ -12,13 +12,11 @@ version = "1.0.0b0"
requires-python = ">=3.10"
description = "Benchmarks for training and evaluating deep models for the detection of active Pulmonary Tuberculosis from Chest X-Ray imaging."
dynamic = ["readme"]
license = {text = "GNU General Public License v3 (GPLv3)"}
authors = [
{name = "Geoffrey Raposo", email = "geoffrey@raposo.ch"}
]
license = { text = "GNU General Public License v3 (GPLv3)" }
authors = [{ name = "Geoffrey Raposo", email = "geoffrey@raposo.ch" }]
maintainers = [
{name = "Andre Anjos", email = "andre.anjos@idiap.ch"},
{name = "Daniel Carron", email = "daniel.carron@idiap.ch"}
{ name = "Andre Anjos", email = "andre.anjos@idiap.ch" },
{ name = "Daniel Carron", email = "daniel.carron@idiap.ch" },
]
classifiers = [
"Development Status :: 4 - Beta",
@@ -29,21 +27,21 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"clapper",
"click",
"numpy",
"pandas",
"scipy",
"scikit-learn",
"tqdm",
"psutil",
"tabulate",
"matplotlib",
"pillow",
"torch>=1.8",
"torchvision>=0.10",
"lightning>=2.0.3",
"tensorboard",
"clapper",
"click",
"numpy",
"pandas",
"scipy",
"scikit-learn",
"tqdm",
"psutil",
"tabulate",
"matplotlib",
"pillow",
"torch>=1.8",
"torchvision>=0.10",
"lightning>=2.0.3",
"tensorboard",
]
[project.urls]
@@ -62,12 +60,8 @@ doc = [
"sphinx-copybutton",
"sphinx-inline-tabs",
"sphinx-click",
]
test = [
"pytest",
"pytest-cov",
"coverage",
]
]
test = ["pytest", "pytest-cov", "coverage"]
[project.scripts]
ptbench = "ptbench.scripts.cli:cli"
@@ -487,10 +481,10 @@ padchest_tb_idiap_rs = "ptbench.configs.datasets.padchest_RS.tb_idiap"
[tool.setuptools]
zip-safe = true
package-dir = {"" = "src"}
package-dir = { "" = "src" }
[tool.setuptools.dynamic]
readme = {file = "README.md"}
readme = { file = "README.md" }
[tool.distutils.bdist_wheel]
universal = true
@@ -505,10 +499,6 @@ lines_between_types = 1
line-length = 80
[tool.pytest.ini_options]
addopts = [
"--cov=ptbench",
"--cov-report=term-missing",
"--import-mode=append",
]
addopts = ["--cov=ptbench", "--cov-report=term-missing", "--import-mode=append"]
junit_logging = "all"
junit_log_passing_tests = false
Loading