A package for managing PyTorch model versions, metadata, and metrics.
Project description
TorchVersionist
TorchVersionist is a powerful Python library designed for PyTorch users to effortlessly manage model versions. It automates the tracking of model architectures, hyperparameters, and performance metrics, facilitating a smoother development and analysis process.
Key Features
- Automated Model Versioning: Automatically assign and track versions for each of your PyTorch models.
- Detailed Metadata Tracking: Store and retrieve comprehensive metadata and hyperparameters for each model iteration.
- Performance Metrics Logging: Keep a record of model performance metrics for easy comparison and analysis.
- Intuitive Model Retrieval: Quickly access any version of your model with straightforward retrieval functions.
Installation
pip install TorchVersionist
Usage
Here's a quick start on how to use TorchVersionist:
from torchversionist import ModelManager
# Initialize with your PyTorch model
model_manager = ModelManager(your_model, model_name="example_model")
# After training your model
model_manager.save(meta_data={'training_details': '...'}, metrics={'accuracy': 0.95})
Contributing
Contributions to TorchVersionist are welcome! Open an issue or submit pull requests for any improvements or bug fixes.
License
Licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file torchversionist-0.0.1.tar.gz
.
File metadata
- Download URL: torchversionist-0.0.1.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39ea3062a8ee7b4ecd15db17625e8d46c17073b9130ef23cd1915774470ffeef |
|
MD5 | ef581ca167b167a5b61e3d52070225ff |
|
BLAKE2b-256 | ab784d35bfac5f094616af874c73a0c2dae7b95921258ee2ac1496895d5aec5e |
File details
Details for the file torchversionist-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: torchversionist-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b65eef4f80d8d5e6ad79bbd0079046ef123a57124020161d77c16a8869deafb |
|
MD5 | 7705d2f6a35758174e78e45e059a6230 |
|
BLAKE2b-256 | e14e07cc35bf2ca3e52c8f484c719014969d6777b179844bc5a5e19926c94f52 |