Inconsistent ”Could not get context for WebGL version 2” error ...

文章推薦指數: 80 %
投票人數:10人

Click the first Run button. Console log prints: Could not get context for WebGL version 2 Tensor [11, 22, 33, 44]. Skiptocontent {{message}} tensorflow / tfjs Public Notifications Fork 1.7k Star 16.2k Code Issues 496 Pullrequests 134 Actions Projects 16 Security Insights More Code Issues Pullrequests Actions Projects Security Insights Newissue Haveaquestionaboutthisproject?SignupforafreeGitHubaccounttoopenanissueandcontactitsmaintainersandthecommunity. Pickausername EmailAddress Password SignupforGitHub Byclicking“SignupforGitHub”,youagreetoourtermsofserviceand privacystatement.We’lloccasionallysendyouaccountrelatedemails. AlreadyonGitHub? Signin toyouraccount Jumptobottom Inconsistent”CouldnotgetcontextforWebGLversion2”errormessage #4284 Open anssikoopenedthisissue Nov20,2020 ·8comments Open Inconsistent”CouldnotgetcontextforWebGLversion2”errormessage #4284 anssikoopenedthisissue Nov20,2020 ·8comments Assignees Labels comp:webgpu DOC P3 type:bug Somethingisn'tworking Comments Copylink anssiko commented Nov20,2020 Systeminformation HaveIwrittencustomcode(asopposedtousingastockexamplescriptprovidedinTensorFlow.js):no OSPlatformandDistribution:macOS10.15.7andiOS14.1 Mobiledevice:iPhone11 TensorFlow.jsinstalledfrom(npmorscriptlink):https://cdn.jsdelivr.net/npm/@tensorflow/[email protected] TensorFlow.jsversion:2.7.0 Browserversion: Safari14.0oniOS: Mozilla/5.0(iPhone;CPUiPhoneOS14_1likeMacOSX)AppleWebKit/605.1.15(KHTML,likeGecko)Version/14.0Mobile/15E148Safari/604.1 Safari14.0.1onmacOS: Mozilla/5.0(Macintosh;IntelMacOSX10_15_7)AppleWebKit/605.1.15(KHTML,likeGecko)Version/14.0.1Safari/605.1.15 Tensorflow.jsConverterVersion:? Describethecurrentbehavior Stepstoreproduce: Loadhttps://js.tensorflow.org/api/latest/#add ClickthefirstRunbutton Consolelogprints: CouldnotgetcontextforWebGLversion2 Tensor [11,22,33,44] ClickRunagain Consolelogprints: Tensor [11,22,33,44] Describetheexpectedbehavior Expectedthelogmessagesinsteps3and5tobeidentical,includingtheWebGLerrormessage. Standalonecodetoreproducetheissue Reproducibletestcase:https://js.tensorflow.org/api/latest/#add Otherinfo/logs ThelateststableSafari14shipswithWebGL2.0disabledbydefault.MakesureWebGL2.0isdisabledviaSafari>ExperimentalWebKitFeaturestobeabletoreproducethisissue. Thetextwasupdatedsuccessfully,buttheseerrorswereencountered: anssiko added the type:bug Somethingisn'tworking label Nov20,2020 anssiko mentionedthisissue Nov20,2020 Inconsistent”CouldnotgetcontextforWebGLversion2”errormessage webmachinelearning/webnn-samples#21 Closed Copylink Collaborator pyu10055 commented Nov20,2020 @annxingyuanCanyouhelptoconfirm?TheWebGL2checkhappensonthefirstAPIcall,onceitisidentifiedmissing,wewillbeusingWebGL1instead.ThefollowingAPIcallswouldnottriggerthewarningmessage. 👍 1 WhatzzUpreactedwiththumbsupemoji Sorry,somethingwentwrong. rthadur added the comp:webgpu label Nov20,2020 rthadur assignedannxingyuan Nov20,2020 Copylink gauravdhra commented Jan27,2021 • edited iamhavingsameissueonchrome@pyu10055 👍 1 WhatzzUpreactedwiththumbsupemoji Sorry,somethingwentwrong. annxingyuan removed comp:webgpu type:bug Somethingisn'tworking labels Feb16,2021 pyu10055 added comp:webgpu DOC P3 type:bug Somethingisn'tworking labels Feb16,2021 annxingyuan removedtheirassignment Feb16,2021 Copylink Collaborator pyu10055 commented Feb16,2021 Betterdocumentationonthewarningmessage,peopleunderstandthatthisisthecaseforsafari. Sorry,somethingwentwrong. pyu10055 assignedmattsoulanille Feb16,2021 rthadur mentionedthisissue Mar2,2021 InconsistentbehaviouracrossmacOSwhenusingWebGLbackend #4768 Closed Copylink bebensiganteng commented Mar3,2021 Thankyoufordealingwiththisissue,butisthereatemporarysolutionforthis?Forinstance,wouldassigningthebackendtoWebGLversion1helps?Ifyes,couldyoutellushowtodoit,please? Sorry,somethingwentwrong. mayankagarwal-cf mentionedthisissue Mar26,2021 Timetakenonfirstrunmuchhigherthanconsequentruns vladmandic/face-api#44 Closed Copylink pritasam commented Jun29,2021 anyupdatesonthisissue? Sorry,somethingwentwrong. Copylink EdgarModiface commented Jul26,2021 HiGuys, Notsureoftherootcauseforthisbug,butoneofourclientreportedsuchissueonsomeWindowsMachinewithChrome.TheworkaroundwastochangeaflaginChrometonotuseD3D11asabackendforANGLEbuttoforceOpenGL. AsthisissueonlyoccurredonfewcomputersitmightberelatedtoacombinationofDrivers+CPU/GPUplatforms.ThishasonlybereportedonoursideforintegratedGPU. Sorry,somethingwentwrong. Copylink rodrigoGA commented Nov2,2021 Iamgettingthiserrorwhentryingtousetensorflowjsinsafari,withanionicapp. Sorry,somethingwentwrong. Copylink maxcodefaster commented Nov2,2021 Iamgettingthiserrorwhentryingtousetensorflowjsinsafari,withanionicapp. Changetowasmbackend Sorry,somethingwentwrong. Signupforfree tojointhisconversationonGitHub. Alreadyhaveanaccount? Signintocomment Assignees mattsoulanille Labels comp:webgpu DOC P3 type:bug Somethingisn'tworking Projects Noneyet Milestone Nomilestone Development Nobranchesorpullrequests 11participants Youcan’tperformthatactionatthistime. Yousignedinwithanothertaborwindow.Reloadtorefreshyoursession. Yousignedoutinanothertaborwindow.Reloadtorefreshyoursession.



請為這篇文章評分?