Giter VIP home page Giter VIP logo

Comments (4)

reiinakano avatar reiinakano commented on June 18, 2024

Okay, looked a bit into this and this piece of code is only run if an unsupported browser is detected, which is one of three cases: mobile or Safari or a non-WebGL enabled browser.

I guess if you're not on mobile or Safari, then your browser doesn't support WebGL and you wouldn't be able to run it either. Sorry!

You can see the warnings on the console confirming your browser does not support WebGL.

from fast-style-transfer-deeplearnjs.

RexMorgan avatar RexMorgan commented on June 18, 2024

@reiinakano thanks. I enabled webgl in firefox and the page loads, now.

Unfortunately the site doesn't work, and I get some webgl errors. I'm assuming that's because webgl was disabled by default for a reason :)

image

For others, I set webgl.force-enabled to true in about:config to enable webgl.

from fast-style-transfer-deeplearnjs.

reiinakano avatar reiinakano commented on June 18, 2024

You might want to try running the official deeplearn JS demos http://deeplearnjs.org/index.html#demos and see if the same errors pop up.

If they do, then you'll get a better answer by filing an issue there. I am honestly clueless about the internals of the library. I am a mere user, haha. :)

from fast-style-transfer-deeplearnjs.

reiinakano avatar reiinakano commented on June 18, 2024

This is now fixed in the newest version. You should see a proper error message now if your device is unsupported.

from fast-style-transfer-deeplearnjs.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.