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 503 forks source link

Running the inception_v3 in the browser - ERR_BLOCKED_BY_CLIENT #121

Open AndreasRef opened 6 years ago

AndreasRef commented 6 years ago

Hi

This might be a stupid question, but I want to run a version of the Inception v3 classification demo https://transcranial.github.io/keras-js/#/inception-v3 on a website. I cloned the repo, made a localhost server and tried running the demo. It gives me this error however:

screen shot 2018-03-26 at 19 22 48

keras.min.js:1 GET https://transcranial.github.io/keras-js-demos-data/inception_v3/inception_v3.bin net::ERR_BLOCKED_BY_CLIENT

Seems like the error has to do with not being able to access the inception_v3.bin file from transcranial.github.io, but how do I set it to a locale path? I downloaded all the data from https://github.com/transcranial/keras-js-demos-data and placed it in demos/data as the readme states. I can't seem to find anywhere in keras.min.js where it is pointing to https://transcranial.github.io for the inception_v3.bin file, but it somehow must still do so. Any clues how to fix that? Or is the problem something else?

Best Andreas