Comments (4)
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.
@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 :)
For others, I set webgl.force-enabled
to true in about:config
to enable webgl.
from fast-style-transfer-deeplearnjs.
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.
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)
- Build and deploy HOT 1
- Bower HOT 1
- Error in net.ts
- Migrate to TensorFlow.js HOT 6
- Porting some new TensorFlow models HOT 2
- Feedforward image colorization
- A neural algorithm of artistic style
- mobile browser HOT 2
- C# implementation HOT 1
- How to Deploy on GitHub Pages (if you did)
- Uncaught SyntaxError: Unexpected token v in JSON at position 0 HOT 4
- 404 on bundle.js HOT 2
- Reference image does not match output (NOTE: Please post your browser and system specs here if you face this issue) HOT 7
- 'Repository has exceeded LFS data quota' - LFS really needed? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-style-transfer-deeplearnjs.