File size: 1,361 Bytes
d9d7e3b
 
1a2bc7b
 
 
 
 
 
 
d9d7e3b
1a2bc7b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: apache-2.0
datasets:
- gmjelle/voltorb-flip
tags:
- voltorb-flip
- pokemon
- keypoint-detection
- digit-recognition
---

# Voltorb Flip reader

The two small networks behind the [Voltorb Flip solver](https://vandevliet.me/voltorb-flip-solver/): upload a photo or screenshot of a
Voltorb Flip board and they find the board and read its hints, entirely in the browser.

| file | network | in → out |
|---|---|---|
| `voltorb-board.json` | board corner detector (~90k weights) | photo letterboxed to 128×128 RGB → four 32×32 corner heatmaps (soft-argmax) |
| `voltorb-digits.json` | digit reader (conv 8 → conv 16 → 32 → 10) | 24×20 greyscale window around a hint digit → probabilities for 0–9 |

Both are int8 with one scale per tensor, stored as `{name: [scale, base64 int8]}`. A weight is `int8 × scale`. Tensor names and shapes
follow the PyTorch modules in `corner.py` and `cnn.py`, the training code.

Trained on [gmjelle/voltorb-flip](https://huggingface.co/datasets/gmjelle/voltorb-flip): player uploads with board corners and hints,
plus synthetic photos made from them. Both networks are retrained as new uploads come in, and a new version is only published when it reads
more hand-labelled boards right than the live one. Scores per version: "Model updates" in [the blog post](https://vandevliet.me/voltorb-flip-solver/).