As suggested in tensorflowjs github, I post the question here. I am getting below error, in simplest example possible with tensorflow.
Code: A simple html snippet with just tfjs loading.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@0.15.3/dist/tf.min.js"></script>
<title>Testing Tfjs</title>
</head>
<body>
<h2>Testing Tfjs</h2>
</body>
</html>
Browser: Chrome Version 72.0.3626.119
OS: Win 10, GPU: GT 740M, version 397.44.
Chrome gpu show says : (because I disabled hw acceleration to avoid chrome blacking out at times)
WebGL: Software only, hardware acceleration unavailable,
WebGL2: Software only, hardware acceleration unavailable
I have tried setting backend explicitly as cpu but it did not help. I have seen other posts in github talking about this error, but in vain.
WebGL: Software only, hardware acceleration unavailable, WebGL2: Software only, hardware acceleration unavailable
. If webgl is not working, why get.webgl.org says it is working? This website also confirms webgl working in my browser.