Training utilities for keynet - MLflow and model training support
Project description
keynet-train
MLflow와 통합된 모델 훈련 유틸리티
설치
pip install keynet-train
주요 기능
🚀 완전 자동화된 훈련 API
- 모델에서 자동으로 스키마 추론
- PyTorch 모델을 ONNX로 자동 변환
- MLflow에 자동 로깅 및 버전 관리
📊 지원 프레임워크
- PyTorch (TorchScript, ONNX 변환)
- ONNX (네이티브 지원)
- 다중 입력/출력 모델 지원
🔧 MLflow 통합
- 실험 자동 생성 및 관리
- 모델 아티팩트 자동 저장
- 메트릭 및 파라미터 추적
사용 예제
자동화된 PyTorch 훈련
from keynet_train import pytorch_trace_auto
import torch
# 단일 입력 모델
@pytorch_trace_auto("my_experiment", torch.randn(1, 3, 224, 224))
def train_simple_model():
model = MyModel()
# 훈련 로직
optimizer = torch.optim.Adam(model.parameters())
for epoch in range(10):
# ... 훈련 코드 ...
pass
return model # 모델만 반환!
# 다중 입력 모델
@pytorch_trace_auto("multi_input_exp", {
"image": torch.randn(1, 3, 224, 224),
"mask": torch.randn(1, 1, 224, 224)
})
def train_multi_input():
model = MultiInputModel()
# ... 훈련 ...
return model
라이선스
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
keynet_train-0.0.1.dev5.tar.gz
(15.6 kB
view details)
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 keynet_train-0.0.1.dev5.tar.gz.
File metadata
- Download URL: keynet_train-0.0.1.dev5.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec8e81fbe3748dad992858a9b57049d50096884cffedc7b03730ddb6d0e81b19
|
|
| MD5 |
2f3afc37289f7bd5ed5e29cfb1d23686
|
|
| BLAKE2b-256 |
92bea2c47c461478dee38457e99c342cbb7d019bdcc49a10dbf5a09c60eebeef
|
File details
Details for the file keynet_train-0.0.1.dev5-py3-none-any.whl.
File metadata
- Download URL: keynet_train-0.0.1.dev5-py3-none-any.whl
- Upload date:
- Size: 19.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1af7dbe0e95403c6f52d541766184ebbd8aee84992ff4d9409aad7fb66c9127
|
|
| MD5 |
615bbbbd8b078d5ef62937227f3d9e87
|
|
| BLAKE2b-256 |
e8e4e8f589a19314aba511f20c8d7b4e51142ca7456c19534fb082cd4f2579a3
|