Various bits of code to train on colour palettes, analyse fractals generated from https://github.com/peterorum/functal, use Microsoft Vision API tp genertae captions, and then post to socials from lambda.
- From the
data/hsl-json
folder,scp functal://data/hsl-json/* .
- From the
generate
folder, runcombine-jsons.py
, - then
convert-to-csv
. - From the
train
folder, run003-split
. - From the
classify
folder, runnode server.js
using thepredictions
file as test.
For lambda, put the files in captions along with node_modules in the same folder & compress, then upload zip.