Inconsistent ”Could not get context for WebGL ... - GitHub
文章推薦指數: 80 %
I think "Could not get context for WebGL version 2" is reported by tf.js. Ping @pyu10055 , am I correct? @anssiko , when you run tf.js examples ... Skiptocontent {{message}} webmachinelearning / webnn-samples Public Notifications Fork 13 Star 36 Code Issues 2 Pullrequests 1 Actions Projects 0 Wiki Security Insights More Code Issues Pullrequests Actions Projects Wiki Security Insights Newissue Haveaquestionaboutthisproject?SignupforafreeGitHubaccounttoopenanissueandcontactitsmaintainersandthecommunity. Pickausername EmailAddress Password SignupforGitHub Byclicking“SignupforGitHub”,youagreetoourtermsofserviceand privacystatement.We’lloccasionallysendyouaccountrelatedemails. AlreadyonGitHub? Signin toyouraccount Jumptobottom Inconsistent”CouldnotgetcontextforWebGLversion2”errormessage #21 Closed anssikoopenedthisissue Nov9,2020 ·4comments Closed Inconsistent”CouldnotgetcontextforWebGLversion2”errormessage #21 anssikoopenedthisissue Nov9,2020 ·4comments Comments Copylink Member anssiko commented Nov9,2020 Stepstoreproduce: Loadhttps://webmachinelearning.github.io/webnn-samples/code/?example=mul_add.js ClickRun Consolelogprints: CouldnotgetcontextforWebGLversion2 Outputshape:2,2 Outputvalue:1,1,1,1 ClickRunagain Consolelogprints: Outputshape:2,2 Outputvalue:1,1,1,1 Expectedlogmessagesin3and5tobeidentical,includingtheWebGLerrormessage. Mozilla/5.0(iPhone;CPUiPhoneOS14_1likeMacOSX)AppleWebKit/605.1.15(KHTML,likeGecko)Version/14.0Mobile/15E148Safari/604.1 Thetextwasupdatedsuccessfully,buttheseerrorswereencountered: anssiko transferredthisissuefromwebmachinelearning/webnn-polyfill Nov9,2020 Copylink Contributor huningxin commented Nov20,2020 • edited Ithink"CouldnotgetcontextforWebGLversion2"isreportedbytf.js.Ping@pyu10055,amIcorrect? @anssiko,whenyouruntf.jsexamplesinyourbrowser,didyouseethismessage?e.g.https://js.tensorflow.org/api/latest/#add Probablywecouldfilteritoutfromlogging. Sorry,somethingwentwrong. Copylink Member Author anssiko commented Nov20,2020 Iwasabletoreproducetheissuewithhttps://js.tensorflow.org/api/latest/#addsoIopenedtensorflow/tfjs#4284 Ithinkitisbettertoaddressthisissueintheupstream,soI'mclosingthisissue. Sorry,somethingwentwrong. anssiko closedthisascompleted Nov20,2020 Copylink gauravdhra commented Jan27,2021 chromebrowserisunabletodrawcanvas.showingsameerror CouldnotgetcontextforWebGLversion2 Sorry,somethingwentwrong. Copylink Member Author anssiko commented Jan27,2021 (Justareminderthisbugistrackedupstream:tensorflow/tfjs#4284) Sorry,somethingwentwrong. webmachinelearning lockedasoff-topicandlimitedconversationtocollaborators Jan27,2021 Signupforfree tosubscribetothisconversationonGitHub. Alreadyhaveanaccount? Signin. Assignees Nooneassigned Labels Noneyet Projects Noneyet Milestone Nomilestone Development Nobranchesorpullrequests 3participants Youcan’tperformthatactionatthistime. Yousignedinwithanothertaborwindow.Reloadtorefreshyoursession. Yousignedoutinanothertaborwindow.Reloadtorefreshyoursession.
延伸文章資訊
- 1WebGLRenderingContext - Web APIs | MDN
Once you have the WebGL rendering context for a canvas, you can render ... Might be null if it is...
- 2Inconsistent ”Could not get context for WebGL version 2” error ...
Click the first Run button. Console log prints: Could not get context for WebGL version 2 Tensor ...
- 3ljqh - Politik mit Herz – SPD Hille
TL;DR: A Windows user cannot run WebGL without a graphics card. ... Therefore, WebGL 1 code might...
- 4tensorflowjs Could not get context for WebGL version 2 - 博客园
在案例运行中,出现Could not get context for WebGL version 2 import * as tf from '@tensorflow/tfjs';
- 5Status: Could not create a WebGL context. - Google Help
I have updated the drivers to the latest version. I am using Nvidia GeForce GTX 260. The sites ru...