I am learning Tensorflow using the Tensorflow.js library for machine learning when I run my simple program getting the following warning
<html>
<head>
<!-- Load TensorFlow.js -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]"> </script>
<!-- Place your code in the script tag below. You can also use an external .js file -->
<script>
tf.tensor([1,2,3,4,5]).print();
tf.tensor([[1,2,3],[4,5,6]]).print();
</script>
</head>
<body>
</body>
</html>
This browser does not support WebGL. at createWebGLRenderingContextFromCanvas
what's the exact root cause for this?
I solve this problem in Chrome by enabling "Use hardware acceleration when available" in Chrome. So I go to "Setting", click on "Advanced", and then enable "Use hardware acceleration when available".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With