Newer
Older
.. SPDX-FileCopyrightText: Copyright © 2023 Idiap Research Institute <contact@idiap.ch>
..
.. SPDX-License-Identifier: GPL-3.0-or-later
.. _ptbench.api:
============
Python API
============
This section includes information for using the Python API of
``ptbench``.
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
.. _ptbench.api.data:
Data Methods
------------
Auxiliary classes and methods to define raw dataset iterators.
.. autosummary::
:toctree: api/data
ptbench.data.sample
ptbench.data.dataset
ptbench.data.utils
ptbench.data.loader
ptbench.data.transforms
ptbench.configs.datasets
.. _ptbench.api.data.raw:
Raw Dataset Access
------------------
Direct data-access through iterators.
.. autosummary::
:toctree: api/data/raw
ptbench.data.hivtb_RS
ptbench.data.tbpoc
ptbench.data.montgomery_RS
ptbench.data.padchest
ptbench.data.hivtb
ptbench.data.indian_RS
ptbench.data.shenzhen_RS
ptbench.data.tbpoc_RS
ptbench.data.shenzhen
ptbench.data.montgomery
ptbench.data.indian
ptbench.data.nih_cxr14_re
ptbench.data.padchest_RS
ptbench.data.tbx11k_simplified
ptbench.data.tbx11k_simplified_RS
ptbench.data.tbx11k_simplified_v2
ptbench.data.tbx11k_simplified_v2_RS
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
102
.. _ptbench.api.models:
Models
------
CNN and other models implemented.
.. autosummary::
:toctree: api/models
ptbench.models.alexnet
ptbench.models.densenet
ptbench.models.densenet_rs
ptbench.models.logistic_regression
ptbench.models.normalizer
ptbench.models.pasa
ptbench.models.signs_to_tb
.. _ptbench.api.engines:
Command engines
---------------
Functions to actuate on the data.
.. autosummary::
:toctree: api/engine
ptbench.engine.trainer
ptbench.engine.predictor
ptbench.engine.evaluator
.. _ptbench.api.utils:
Various utilities
-----------------
Reusable auxiliary functions.
ptbench.utils.checkpointer
ptbench.utils.download
ptbench.utils.grad_cams
ptbench.utils.measure
ptbench.utils.model_serialization
ptbench.utils.model_zoo
ptbench.utils.plot
ptbench.utils.rc
ptbench.utils.resources
ptbench.utils.summary
ptbench.utils.table