transcranial / keras-js

Run Keras models in the browser, with GPU support using WebGL
https://transcranial.github.io/keras-js
MIT License
4.96k stars 501 forks source link

Sample code has a typo, preventing loading of model #92

Open mikkokam opened 6 years ago

mikkokam commented 6 years ago

Sample on front page:

const model = new KerasJS.Model({
  filepaths: {

filepaths in plural. code for Model:

if (!filepath) {
      throw new Error('[Model] path to protobuf-serialized model definition file is missing.')
    }
hmhwe commented 5 years ago

Did you solve the problem?