{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tfjs/issues/351","repository_url":"https://api.github.com/repos/tensorflow/tfjs","labels_url":"https://api.github.com/repos/tensorflow/tfjs/issues/351/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tfjs/issues/351/comments","events_url":"https://api.github.com/repos/tensorflow/tfjs/issues/351/events","html_url":"https://github.com/tensorflow/tfjs/issues/351","id":326925640,"node_id":"MDU6SXNzdWUzMjY5MjU2NDA=","number":351,"title":"How to draw tensor3D type image data (RGB) to screen by WebGL?","user":{"login":"chenjin3","id":8558291,"node_id":"MDQ6VXNlcjg1NTgyOTE=","avatar_url":"https://avatars1.githubusercontent.com/u/8558291?v=4","gravatar_id":"","url":"https://api.github.com/users/chenjin3","html_url":"https://github.com/chenjin3","followers_url":"https://api.github.com/users/chenjin3/followers","following_url":"https://api.github.com/users/chenjin3/following{/other_user}","gists_url":"https://api.github.com/users/chenjin3/gists{/gist_id}","starred_url":"https://api.github.com/users/chenjin3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenjin3/subscriptions","organizations_url":"https://api.github.com/users/chenjin3/orgs","repos_url":"https://api.github.com/users/chenjin3/repos","events_url":"https://api.github.com/users/chenjin3/events{/privacy}","received_events_url":"https://api.github.com/users/chenjin3/received_events","type":"User","site_admin":false},"labels":[{"id":875269756,"node_id":"MDU6TGFiZWw4NzUyNjk3NTY=","url":"https://api.github.com/repos/tensorflow/tfjs/labels/comp:core","name":"comp:core","color":"0052cc","default":false},{"id":891379995,"node_id":"MDU6TGFiZWw4OTEzNzk5OTU=","url":"https://api.github.com/repos/tensorflow/tfjs/labels/type:performance","name":"type:performance","color":"159b2e","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-28T07:29:48Z","updated_at":"2018-10-31T14:31:52Z","closed_at":null,"author_association":"NONE","body":"I want to draw image data in a tensor3D (It's shape is [height, width, 3]) to screen by WebGL instead downloading the data from GPU. Because outPixels.dataSync() is too slow."},"comment":{"url":"https://api.github.com/repos/tensorflow/tfjs/issues/comments/434709493","html_url":"https://github.com/tensorflow/tfjs/issues/351#issuecomment-434709493","issue_url":"https://api.github.com/repos/tensorflow/tfjs/issues/351","id":434709493,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDcwOTQ5Mw==","user":{"login":"nsthorat","id":1100749,"node_id":"MDQ6VXNlcjExMDA3NDk=","avatar_url":"https://avatars0.githubusercontent.com/u/1100749?v=4","gravatar_id":"","url":"https://api.github.com/users/nsthorat","html_url":"https://github.com/nsthorat","followers_url":"https://api.github.com/users/nsthorat/followers","following_url":"https://api.github.com/users/nsthorat/following{/other_user}","gists_url":"https://api.github.com/users/nsthorat/gists{/gist_id}","starred_url":"https://api.github.com/users/nsthorat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsthorat/subscriptions","organizations_url":"https://api.github.com/users/nsthorat/orgs","repos_url":"https://api.github.com/users/nsthorat/repos","events_url":"https://api.github.com/users/nsthorat/events{/privacy}","received_events_url":"https://api.github.com/users/nsthorat/received_events","type":"User","site_admin":false},"created_at":"2018-10-31T14:31:52Z","updated_at":"2018-10-31T14:31:52Z","author_association":"COLLABORATOR","body":"Hi @rajeev-tbrew, the profiling time of the `dataSync` is not indicative of the download time. `dataSync` blocks the UI thread until all of the work is done *and* the download is complete. The actual time of a download is pretty cheap, overall. A slow `dataSync` of a predictions means your model is too large, try reducing the size of the model!"}}
{"actor":{"display_login":"nsthorat"}}