dcode / README.md
twarner's picture
Update to SD-Gcode end-to-end diffusion model
783cc24
---
title: dcode
emoji: ✒️
colorFrom: green
colorTo: blue
sdk: gradio
sdk_version: 5.9.1
app_file: app.py
pinned: false
license: mit
---
# dcode
**Text -> Polargraph Gcode via Stable Diffusion**
Single end-to-end diffusion model that converts text prompts directly to polargraph-compatible gcode.
## Architecture
```
text prompt -> CLIP text encoder -> UNet diffusion -> latent [4,64,64] -> GcodeDecoder -> gcode tokens
```
All components post-trained end-to-end on 175,952 image-gcode pairs.
## Machine Specs
- Work area: 841mm x 1189mm (A0)
- Bounds: X [-420.5, 420.5], Y [-594.5, 594.5]
- Pen servo: 40 deg (down), 90 deg (up)
## Links
- [GitHub](https://github.com/Twarner491/dcode)
- [Model](https://huggingface.co/twarner/dcode-sd-gcode)
- [Dataset](https://huggingface.co/datasets/twarner/dcode-polargraph-gcode)
## License
MIT