File size: 851 Bytes
484c1c4
f479e26
783cc24
 
 
1d11bfa
783cc24
1d11bfa
484c1c4
 
 
 
f479e26
 
783cc24
bbd6111
783cc24
bbd6111
783cc24
f479e26
783cc24
 
 
f479e26
783cc24
f479e26
783cc24
f479e26
783cc24
 
 
bbd6111
 
 
 
783cc24
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
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