zaina-ml/ml_forge
zaina-ml/ml_forge has 428 GitHub stars and 50 forks. GitHot measured +1 in 7 days. Last checked 2026-11-11 03:14 UTC. Last push 2026-08-17.
A visual-based graph node editor for training computer vision models.
측정된 스타 증가
- in 24h
- 업데이트 지연
- in 7 days
- +1
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalML Forge
A visual PyTorch pipeline editor. Build, train and run image classification models without writing code.

MLForge v1.0.4
Additions:
- Patched segfault error on Mac during template loading
- Added logo to splash loading widnow
- Added hints to node pallete when hovering over certain nodes.
What it does
- Visual pipeline - drag nodes onto a canvas, connect them with wires, and ML Forge generates and runs the training code for you
- Three-tab workflow - Data Prep -> Model -> Training
- Live training - watch loss curves update in real time, save checkpoints, run inference on your trained model
- Export - export projects into clean PyTorch
Tutorial
Watch the MLForge tutorial video here: MLForge Tutorial
Requirements
IMPORTANT: PyTorch must be preinstalled for training, it is not installed as a dependency.
- Python 3.10 or newer
- PyTorch 2.0 or newer
- torchvision
pip install torch torchvision
GPU training is automatic if CUDA is available. CPU and Apple MPS are also supported.
Quick Start
To install MLForge, enter the following in your command prompt
pip install zaina-ml-forge
Then
ml-forge
Cloning
git clone https://github.com/zaina-ml/ml-forge
python -m ml_forge
Building your first model
1. Data Prep tab
- Add a Dataset node (MNIST, CIFAR10, CIFAR100, FashionMNIST, or ImageFolder)
- Chain transforms: ToTensor is required, add Normalize for best results
- End with a DataLoader (train) node
- For proper validation, add a second chain (same dataset with
train=False) ending with DataLoader (val)
2. Model tab
- Start with an Input node - shape is auto-filled from your dataset
- Add layers: Linear, Conv2D, ReLU, BatchNorm2D, Flatten, Dropout, etc.
- End with an Output node - num classes is auto-filled from your dataset
- Connect nodes by dragging from an output pin to an input pin
in_featuresandin_channelsauto-fill when you connect layers- After a Flatten node, the next Linear's
in_featuresis calculated automatically
3. Training tab
Add these four nodes from the palette and wire them up:
DataLoaderBlock.images -> ModelBlock.images
ModelBlock.predictions -> Loss.pred
DataLoaderBlock.labels -> Loss.target
Loss.loss -> Optimizer.params
Configure epochs, device, checkpointing and early stopping in the right panel, then press RUN.
Keyboard shortcuts
| Key | Action |
|---|---|
Del / Ctrl-Backspace |
Delete selected nodes |
Ctrl+S |
Save project |
Ctrl+Z |
Undo |
Ctrl+Y |
Redo |
Middle-drag |
Pan the canvas |
Supported datasets
| Dataset | Classes | Input shape |
|---|---|---|
| MNIST | 10 | 1 × 28 × 28 |
| FashionMNIST | 10 | 1 × 28 × 28 |
| CIFAR-10 | 10 | 3 × 32 × 32 |
| CIFAR-100 | 100 | 3 × 32 × 32 |
| ImageFolder | custom | 3 × 224 × 224 |
Inference
After training, open Run -> Inference, browse to your checkpoint (.pth), and click Run Inference to sample from the test set and see top-k predictions.
Metrics
Click the METRICS button to see a summary of your training run: final loss, best validation accuracy, fit diagnosis, and loss/accuracy curves, you may also see the curves on the right training panel.
Saving and loading
Projects are saved as .mlf files (JSON). Use File -> Save / Save As or Ctrl+S.
Exporting code
File -> Export -> Python -> PyTorch generates a standalone train.py that reproduces your pipeline. No ML Forge required to run it.
Future Plans
- Orient to a more beginner-friendly approach
- Add custom block functionality
License
MIT
관련 프로젝트 살펴보기
tensorflow/tensorflow
모두를 위한 오픈소스 머신러닝 프레임워크
201,427 스타huggingface/transformers
🤗 Transformers: 텍스트, 비전, 오디오, 멀티모달 분야의 최첨단 머신러닝 모델을 위한 모델 정의 프레임워크로, 추론과 학습을 모두 지원합니다.
168,711 스타AUTOMATIC1111/stable-diffusion-webui
Stable Diffusion 웹 UI
165,289 스타Comfy-Org/ComfyUI
그래프와 노드로 구성된 인터페이스를 갖춘, 가장 강력하고 모듈성이 뛰어난 확산 모델 GUI, API, 백엔드입니다. 세계에서 가장 빠른 로컬 추론 엔진입니다.
146,271 스타