Open joeyklee opened 5 years ago
Wonderful! I'll note a couple of "known issues" here as context.
.bin
, etc.) for loading models (easy one?) There might be more these are two off the top of my head!
@shiffman - thanks so much! I'll start going through and seeing what happens.
About
Testing to see which examples are working using the fetch-ml5-examples script: https://github.com/joeyklee/p5.js-web-editor/blob/fetch-ml5-examples/server/scripts/examples-ml5.js
steps to reproduce:
$ GITHUB_ID=<....> GITHUB_SECRET=<...> NODE_ENV=development npm run fetch-examples-ml5
where the GITHUB_ID and GITHUB_SECRET are the alphanumeric character strings created in yourGithub personal access tokens
Check the examples that are working
Refused to execute script from 'https://raw.githubusercontent.com/ml5js/ml5-examples/release/p5js/CharRNN/CharRNN_Text/sketch.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
Refused to execute script from 'https://raw.githubusercontent.com/ml5js/ml5-examples/release/p5js/CharRNN/CharRNN_Text/sketch.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
Refused to execute script from 'https://raw.githubusercontent.com/ml5js/ml5-examples/release/p5js/CharRNN/CharRNN_Text/sketch.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
VM8946 about:srcdoc:127 Uncaught TypeError: ml5.pix2pix(...).then is not a function at drawImage (VM8758 about:srcdoc:127) at Image.i.onload (VM8851 p5.min.js:3)
tf-core.esm.js:17 Uncaught (in promise) DOMException: Failed to execute 'texImage2D' on 'WebGL2RenderingContext': The image element contains cross-origin data, and may not be loaded.
tf-core.esm.js:17 Uncaught (in promise) DOMException: Failed to execute 'texImage2D' on 'WebGL2RenderingContext': The image element contains cross-origin data, and may not be loaded.
[ ] StyleTransfer_Video
[ ] Firefox: