{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/models/issues/3167","repository_url":"https://api.github.com/repos/tensorflow/models","labels_url":"https://api.github.com/repos/tensorflow/models/issues/3167/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/models/issues/3167/comments","events_url":"https://api.github.com/repos/tensorflow/models/issues/3167/events","html_url":"https://github.com/tensorflow/models/issues/3167","id":288534718,"number":3167,"title":"Convert channel last to channel first.","user":{"login":"xiaochenwang94","id":22236269,"avatar_url":"https://avatars0.githubusercontent.com/u/22236269?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaochenwang94","html_url":"https://github.com/xiaochenwang94","followers_url":"https://api.github.com/users/xiaochenwang94/followers","following_url":"https://api.github.com/users/xiaochenwang94/following{/other_user}","gists_url":"https://api.github.com/users/xiaochenwang94/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaochenwang94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaochenwang94/subscriptions","organizations_url":"https://api.github.com/users/xiaochenwang94/orgs","repos_url":"https://api.github.com/users/xiaochenwang94/repos","events_url":"https://api.github.com/users/xiaochenwang94/events{/privacy}","received_events_url":"https://api.github.com/users/xiaochenwang94/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-01-15T09:49:21Z","updated_at":"2018-02-27T18:15:11Z","closed_at":"2018-01-17T06:45:24Z","author_association":"NONE","body":"https://github.com/tensorflow/models/blob/1887a5fe187c8ab9f623cd91b74fc8432ce76d6f/official/resnet/resnet_model.py#L244\r\nIn this function, the model wants to transform channel last to channel first? Should there be\r\n`if data_format == 'channels_last': `?"},"comment":{"url":"https://api.github.com/repos/tensorflow/models/issues/comments/368973900","html_url":"https://github.com/tensorflow/models/issues/3167#issuecomment-368973900","issue_url":"https://api.github.com/repos/tensorflow/models/issues/3167","id":368973900,"user":{"login":"deepaksuresh","id":9796812,"avatar_url":"https://avatars1.githubusercontent.com/u/9796812?v=4","gravatar_id":"","url":"https://api.github.com/users/deepaksuresh","html_url":"https://github.com/deepaksuresh","followers_url":"https://api.github.com/users/deepaksuresh/followers","following_url":"https://api.github.com/users/deepaksuresh/following{/other_user}","gists_url":"https://api.github.com/users/deepaksuresh/gists{/gist_id}","starred_url":"https://api.github.com/users/deepaksuresh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepaksuresh/subscriptions","organizations_url":"https://api.github.com/users/deepaksuresh/orgs","repos_url":"https://api.github.com/users/deepaksuresh/repos","events_url":"https://api.github.com/users/deepaksuresh/events{/privacy}","received_events_url":"https://api.github.com/users/deepaksuresh/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T18:15:11Z","updated_at":"2018-02-27T18:15:11Z","author_association":"NONE","body":"@nealwu I have trained a model in `channel_first` format on `GPU`. I'd like to perform inference using that model on `CPU`, but `CPU` supports only `channel_last` format. Is there a way I can convert the trained model to run on `CPU`?"}}
{"actor":{"display_login":"deepaksuresh"}}