Skip to main content

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


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.dev2.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

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

keynet_train-0.0.1.dev2-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file keynet_train-0.0.1.dev2.tar.gz.

File metadata

  • Download URL: keynet_train-0.0.1.dev2.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for keynet_train-0.0.1.dev2.tar.gz
Algorithm Hash digest
SHA256 d6791822850c55bfb613e2822f693c2d53865e44a9c7ffa8c15913a73c164c19
MD5 3cec6416811dc8bb4bd17c8c8fdc74e2
BLAKE2b-256 a10c8de7da5d36fe0a3026a4b0512966b603e29183f5c75068ecf4932a312c63

See more details on using hashes here.

File details

Details for the file keynet_train-0.0.1.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for keynet_train-0.0.1.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 d08466da333c9744da9b7f63708bc6fd885119fa2d09e7222cd9e0be9ab688a2
MD5 19cc240664e65a9b19e4df2e953e30eb
BLAKE2b-256 c05ffc32d47c9830ef7a615c57dcc7f7351d7954e6c0f4f6edfe5f1f06b28c08

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