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.post3-cp312-cp312-win_amd64.whl (4.0 MB view details)

Uploaded CPython 3.12Windows x86-64

aidge_learning-0.9.0.post3-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.post3-cp311-cp311-win_amd64.whl (4.0 MB view details)

Uploaded CPython 3.11Windows x86-64

aidge_learning-0.9.0.post3-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.post3-cp310-cp310-win_amd64.whl (3.9 MB view details)

Uploaded CPython 3.10Windows x86-64

aidge_learning-0.9.0.post3-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.post3-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_learning-0.9.0.post3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c54b516667f20a42c09c2afde9e88f7b009ca95ffb19fd07cbcadadbe8372af1
MD5 33d4372f536876e015c537e077ae2528
BLAKE2b-256 4b602efb5dfc173f00045cc3046d6b488f2f83b7ad68a0623e8264c3fd7d6a4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_learning-0.9.0.post3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8e3b171ea3320de26da1cbbfb47ea30a7a6d6f4a331b1eef586adfae39f59cb0
MD5 79298d30513ebfe3be6f0e45625bb265
BLAKE2b-256 2a52b0ed94551b1f326d0e4d36d8c164ea993f9fafec2c7f49e094ce826695ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_learning-0.9.0.post3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 18da650500cc423d10794f2dc89a28ca27030e0705a169e39bf2ee31b10da889
MD5 3299927b0d1e07b043162d6fb4a2daf4
BLAKE2b-256 0f13c5da2bb7aff00925a4f90356b691dc2d3175d242243a69e6ebe80dbf60e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_learning-0.9.0.post3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6a621ef2e1de7bc353090fed1cbc79ed19bea48fbaa5457ecb9d7dcc8e228753
MD5 264424e1048fdc12546a613820030a50
BLAKE2b-256 97c030b5f3274bc64cd511e3978a101b0136c184b0d2d5e16d72261e19332ee5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_learning-0.9.0.post3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 cdab6c2544e6285c4407bf2d776f9f8b97f2a53c9df85579e5e82954c7a7abf0
MD5 642e01b00bf119f3eb03547c80ed8fd0
BLAKE2b-256 61c2a5b75e12ccefc1176460de158d28d1f8485b4cd4ccf27dda955bbe9838fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_learning-0.9.0.post3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a3a8461e83f99b763c224d5940f44c9f573cff83de943f4a140aeb8ab4ae0cce
MD5 0276465aec918a26fc7170e52cd3d86f
BLAKE2b-256 c52e7c2162e879bb5d5bde450dd6deb0ef6a9710e6ee2c031d065568bfa7815e

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