Skip to main content

Functions and algorithms to train models in the AIDGE framework

Project description

Aidge logo

EPL 2.0 Examples PyPi Examples Documentation Status GitLab Contributors Open GitLab Issues Closed GitLab Issues

aidge_learning

In this module, you can find functions and classes to train your models:

  • Optimizer (SGD)
  • LRScheduler (ConstantLR, StepLR)
  • loss functions (MSE)

Quick Start

Prerequisite:

  • aidge_core
  • aidge_backend_cpu
    • Only needed for tests.
pip install aidge-learning

🛠 Build from Source

Prerequisite (in addition to previous one):

1. Python or C++ installation using setup scripts

Environment C++ Development Python Development
Windows .\setup.ps1 -Modules learning -Clean -Tests .\setup.ps1 -Modules learning -Clean -Tests -Python
Unix ./setup.sh -m learning --clean --tests ./setup.sh -m learning --clean --tests --python

[!TIP] Use Get-Help setup.ps1 (Windows) or ./setup.sh -h (Unix) for full documentation.

2. Python Installation using pip

Run these commands from the aidge_learning/ directory:

# Standard install
pip install . -v

# Install with testing dependencies
pip install .[test] -v && pytest

Editable Install (Experimental)

Use this for real-time development without re-installing.

pip install --no-build-isolation -ve . --config-settings=editable.rebuild=true -Cbuild-dir=build

3. C++ Installation (CMake)

A CMakePresets.json is provided for standard configurations.

# Configure, Build, and Install
cmake --preset clang-debug
cmake --build --preset clang-debug
cmake --install

# Run C++ Tests
ctest --test-dir build/

[!TIP] Create a CMakeUserPresets.json to define your own local build configurations.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

aidge_learning-0.9.0.post2-cp312-cp312-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.12Windows x86-64

aidge_learning-0.9.0.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

aidge_learning-0.9.0.post2-cp311-cp311-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.11Windows x86-64

aidge_learning-0.9.0.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

aidge_learning-0.9.0.post2-cp310-cp310-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.10Windows x86-64

aidge_learning-0.9.0.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file aidge_learning-0.9.0.post2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_learning-0.9.0.post2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1327141146ce1b00265d65745bfdc7433b15b47007f627a5f30d25256f1a0d93
MD5 8a688ee32034bc5a4e3996d043955192
BLAKE2b-256 aac5c71bd77fbbd44afd6224344f4f23d590d6631bd12e90e07700e2a81ed621

See more details on using hashes here.

File details

Details for the file aidge_learning-0.9.0.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_learning-0.9.0.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5edd2e7dd497c5a146c94df417e6c916e5ce5084b692b7ef3dd66c9aea02ea0b
MD5 1db82c242d82e3a1c1ef627bf0a3d7f2
BLAKE2b-256 8441df48a988b97ee8d413f71811d31086eb7f7f157d4741e71f8f0d9622a678

See more details on using hashes here.

File details

Details for the file aidge_learning-0.9.0.post2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_learning-0.9.0.post2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7cc65a90c0b727c9dffb501cf80e78bd8e438787a3acd30a294a7895ff59ed5c
MD5 7449b69469e5541bb2fe7dfeff913460
BLAKE2b-256 e0341e5b33bf8e2fec906a0b7052dc038dd8714b65a9d7d9692afb657c5efbd3

See more details on using hashes here.

File details

Details for the file aidge_learning-0.9.0.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_learning-0.9.0.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e37ba8f4211bce404f5e349f4593d2adcdf28274f586612f222941981f52cab2
MD5 d131fc71b6c92f02a757452b6efba6e2
BLAKE2b-256 4e01183b31a96e8ca15b54b82ce020d1e48ef81ecda7a6e4597386895dc032f3

See more details on using hashes here.

File details

Details for the file aidge_learning-0.9.0.post2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_learning-0.9.0.post2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 1bc7b3bcf12df6939ce1080c2c04ce56e667c6f3d6aba104d8acc7086acb92be
MD5 f426eedae391f9254f3920b537fa7ced
BLAKE2b-256 2414d51147e6a01731efe39bec876ff8f1ac5b84f4d1a527ac3d71924e1f184b

See more details on using hashes here.

File details

Details for the file aidge_learning-0.9.0.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_learning-0.9.0.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1dd100608adcb608370137760f8361ab711835ca92204bd2cd20a356934e3761
MD5 f7bda38061f1ab085d700362d2b01c13
BLAKE2b-256 72d17708c63fb27d2451a61bb752eaba018b74fd096485f55781f882bb73d730

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page