Skip to main content

Elegant: a simple and concise training framework

Project description

Alegant

Alegant is a simple and concise training framework for PyTorch models.

Usage

To use alegant, follow the steps below:

  1. Define your Model.
  2. Define your DataModule.
  3. Define your Trainer.
  4. Run the training script using the following command:
python --config_file run.py

Make sure to replace config_file with the path to your configuration file.

Configuration

To customize the training process, you need to provide a configuration file. This file specifies various parameters such as dataset paths, model architecture, hyperparameters, etc. Make sure to create a valid configuration file before running the framework.

Project Structure

alegant
├── tensorboard
├── data
├── alegant
│   ├── data_module.py
│   ├── trainer.py
│   └── utils.py
├── src
│   ├── dataset.py
│   ├── loss.py
│   ├── model
│   │   ├── modeling.py
│   │   ├── poolers.py
│   ├── trainer.py
│   └── utils.py
├── config.yaml
├── run.py

Contact

If you have any questions or inquiries, please contact us at zhuhh17@qq.com

Thank you for using Alegant! Happy training!

Project details


Download files

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

Source Distribution

alegant-1.0.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

alegant-1.0.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file alegant-1.0.0.tar.gz.

File metadata

  • Download URL: alegant-1.0.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.0

File hashes

Hashes for alegant-1.0.0.tar.gz
Algorithm Hash digest
SHA256 aa6e5e6a71257b47440ec5ddf895108b7c1689ec8948d1a0935dd655aa3135f7
MD5 310fbd5c79706af1a4126b3de7ab8f56
BLAKE2b-256 53118886d8af13d9a0a9edabbffb453ea27df91f0921be29cd16fd1d66fb76ba

See more details on using hashes here.

File details

Details for the file alegant-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: alegant-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.0

File hashes

Hashes for alegant-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ec60342d83c021fe20817796be3d19f51aaa0c763b1c34722f0d40fdb4e26490
MD5 06788752858908596d4cea506633906f
BLAKE2b-256 d9fa9e23d351276071e5f29b3626bbc442858f0615bffa9197311b43c27dce15

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