Tensorflow.js Shape Morphing


Draw:

Size:

0

Circle Factor:

1

Square Factor:

0

Triangle Factor:

0

Auto Predict:

Canvas size:

32

Smooth:

Data pool:

500

Epochs:

10

  • Optimizer: adam

  • Learning Rate: 0.01

  • Changing the Canvas Size requires you to refresh the page, which resets the trained model on browser.

  • Ctrl+R for hard refresh

  • M.weights.bin must be in the same directory as M.json

  • Uploaded model's canvas size must be same as the browser's selected canvas size


github link logo

clod44 - 2022

bootstrap link logo

Bootstrap

bootstrap link logo

P5js