A 5.0 M-parameter DDPM that draws 64×64 line drawings of five categories: circle, square, triangle, star and smiley face. In the Oekaki VLA project, it imagines the picture that the robot then draws (tkb77/smolvla-oekaki-goal).
Code: https://github.com/tkb77/oekaki-vla (oekaki/generator/)
key_id is held out.last.pt: a PyTorch checkpoint, a pickle. It holds the EMA weights, the class names and the sampling and
clean-up settings. Load it only with the code repository: oekaki.generator.imagine.Imaginer.config.json: the training configuration.from oekaki.config import resolve_ckpt
from oekaki.generator.imagine import Imaginer
im = Imaginer(resolve_ckpt("tkb77/oekaki-sketch-diffusion", "last.pt"))
out = im.generate("star", seed=0) # out["image"]: 64x64 uint8, out["segments"]: strokes for the robot
Apache-2.0. Trained on the Quick, Draw! dataset (Google Creative Lab, CC BY 4.0, https://github.com/googlecreativelab/quickdraw-dataset).