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:
- Define your Model.
- Define your DataModule.
- Define your Trainer.
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa6e5e6a71257b47440ec5ddf895108b7c1689ec8948d1a0935dd655aa3135f7
|
|
| MD5 |
310fbd5c79706af1a4126b3de7ab8f56
|
|
| BLAKE2b-256 |
53118886d8af13d9a0a9edabbffb453ea27df91f0921be29cd16fd1d66fb76ba
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec60342d83c021fe20817796be3d19f51aaa0c763b1c34722f0d40fdb4e26490
|
|
| MD5 |
06788752858908596d4cea506633906f
|
|
| BLAKE2b-256 |
d9fa9e23d351276071e5f29b3626bbc442858f0615bffa9197311b43c27dce15
|