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``.
.. _ptbench.api.data:
Data Methods
------------
Auxiliary classes and methods to define raw dataset iterators.
.. autosummary::
:toctree: api/data
ptbench.data.augmentations
ptbench.data.datamodule
ptbench.data.image_utils
ptbench.data.split
ptbench.data.typing
.. _ptbench.api.models:
Models
------
CNN and other models implemented.
.. autosummary::
:toctree: api/models
ptbench.models.alexnet
ptbench.models.densenet
ptbench.models.normalizer
.. _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.rc
ptbench.utils.resources
ptbench.utils.summary