{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4790","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4790/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4790/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4790/events","html_url":"https://github.com/tensorflow/tensorflow/issues/4790","id":181295277,"number":4790,"title":"iOS cannot run the new trained Inception v1 model <no registered kernels>","user":{"login":"civilmanxx","id":8059551,"avatar_url":"https://avatars.githubusercontent.com/u/8059551?v=3","gravatar_id":"","url":"https://api.github.com/users/civilmanxx","html_url":"https://github.com/civilmanxx","followers_url":"https://api.github.com/users/civilmanxx/followers","following_url":"https://api.github.com/users/civilmanxx/following{/other_user}","gists_url":"https://api.github.com/users/civilmanxx/gists{/gist_id}","starred_url":"https://api.github.com/users/civilmanxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/civilmanxx/subscriptions","organizations_url":"https://api.github.com/users/civilmanxx/orgs","repos_url":"https://api.github.com/users/civilmanxx/repos","events_url":"https://api.github.com/users/civilmanxx/events{/privacy}","received_events_url":"https://api.github.com/users/civilmanxx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20googler","name":"awaiting googler","color":"b60205"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-10-06T00:02:21Z","updated_at":"2016-10-19T23:38:09Z","closed_at":null,"body":"### Environment info\r\niOS\r\n\r\n### steps:\r\n1, i train inception v1 (slim) on a subset of ImageNet dataset (269 of 1000)\r\n2, convert .ckpt into .pb by freeze_graph\r\n3, convert .pb file into 8bit precision\r\n4, load into iOS and run\r\n\r\n### Logs \r\n\r\nsimple/RunModelViewController.mm:222] Running model failed: Invalid argument: **No OpKernel was registered to support Op 'RandomUniform' with these attrs.  Registered kernels:**\r\n\r\n\r\n \\<**no registered kernels**\\>\r\n\r\n\r\n[[Node: InceptionV1/Logits/Dropout_0b/dropout/random_uniform/RandomUniform = RandomUniform[T=DT_INT32, _output_shapes=[[128,1,1,1024]], dtype=DT_FLOAT, seed=0, seed2=0](InceptionV1/Logits/Dropout_0b/dropout/Shape)]]\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"ArgMin\" device_type: \"CPU\" constraint { name: \"T\" allowed_values { list { type: DT_INT32 } } } host_memory_arg: \"dimension\"')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"ArgMin\" device_type: \"CPU\" constraint { name: \"T\" allowed_values { list { type: DT_FLOAT } } } host_memory_arg: \"dimension\"')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"ArgMax\" device_type: \"CPU\" constraint { name: \"T\" allowed_values { list { type: DT_INT32 } } } host_memory_arg: \"dimension\"')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"ArgMax\" device_type: \"CPU\" constraint { name: \"T\" allowed_values { list { type: DT_FLOAT } } } host_memory_arg: \"dimension\"')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"AvgPoolGrad\" device_type: \"CPU\" constraint { name: \"T\" allowed_values { list { type: DT_FLOAT } } } host_memory_arg: \"orig_input_shape\"')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"BatchNormWithGlobalNormalizationGrad\" device_type: \"CPU\" constraint { name: \"T\" allowed_values { list { type: DT_FLOAT } } }')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"BroadcastGradientArgs\" device_type: \"GPU\" host_memory_arg: \"s0\" host_memory_arg: \"s1\" host_memory_arg: \"r0\" host_memory_arg: \"r1\"')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"BroadcastGradientArgs\" device_type: \"CPU\" host_memory_arg: \"s0\" host_memory_arg: \"s1\" host_memory_arg: \"r0\" host_memory_arg: \"r1\"')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"BiasAddGrad\" device_type: \"CPU\" constraint { name: \"T\" allowed_values { list { type: DT_INT32 } } }')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"BiasAddGrad\" device_type: \"CPU\" constraint { name: \"T\" allowed_values { list { type: DT_FLOAT } } }')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"BiasAddV1\" device_type: \"CPU\" constraint { name: \"T\" allowed_values { list { type: DT_INT32 } } }')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"BiasAddV1\" device_type: \"CPU\" constraint { name: \"T\" allowed_values { list { type: DT_FLOAT } } }')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"CheckNumerics\" device_type: \"CPU\" constraint { name: \"T\" allowed_values { list { type: DT_FLOAT } } }')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"ConcatOffset\" device_type: \"GPU\" host_memory_arg: \"concat_dim\" host_memory_arg: \"shape\" host_memory_arg: \"offset\"')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"ConcatOffset\" device_type: \"CPU\"')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"Concat\" device_type: \"CPU\" constraint { name: \"T\" allowed_values { list { type: DT_INT32 } } } host_memory_arg: \"concat_dim\"')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"Concat\" device_type: \"CPU\" constraint { name: \"T\" allowed_values { list { type: DT_FLOAT } } } host_memory_arg: \"concat_dim\"')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"Concat\" device_type: \"CPU\" constraint { name: \"T\" allowed_values { list { type: DT_QUINT8 } } } host_memory_arg: \"concat_dim\"')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"Concat\" device_type: \"CPU\" constraint { name: \"T\" allowed_values { list { type: DT_QINT8 } } } host_memory_arg: \"concat_dim\"')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"Concat\" device_type: \"CPU\" constraint { name: \"T\" allowed_values { list { type: DT_QUINT16 } } } host_memory_arg: \"concat_dim\"')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"Concat\" device_type: \"CPU\" constraint { name: \"T\" allowed_values { list { type: DT_QINT16 } } } host_memory_arg: \"concat_dim\"')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"Concat\" device_type: \"CPU\" constraint { name: \"T\" allowed_values { list { type: DT_QINT32 } } } host_memory_arg: \"concat_dim\"')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"Concat\" device_type: \"CPU\" constraint { name: \"T\" allowed_values { list { type: DT_BFLOAT16 } } } host_memory_arg: \"concat_dim\"')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"Placeholder\" device_type: \"GPU\"')\r\n\r\nI tensorflow/core/framework/op_kernel.cc:802] OpKernel ('op: \"Placeholder\" device_type: \"CPU\"')\r\n"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/254971255","html_url":"https://github.com/tensorflow/tensorflow/issues/4790#issuecomment-254971255","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4790","id":254971255,"user":{"login":"civilmanxx","id":8059551,"avatar_url":"https://avatars.githubusercontent.com/u/8059551?v=3","gravatar_id":"","url":"https://api.github.com/users/civilmanxx","html_url":"https://github.com/civilmanxx","followers_url":"https://api.github.com/users/civilmanxx/followers","following_url":"https://api.github.com/users/civilmanxx/following{/other_user}","gists_url":"https://api.github.com/users/civilmanxx/gists{/gist_id}","starred_url":"https://api.github.com/users/civilmanxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/civilmanxx/subscriptions","organizations_url":"https://api.github.com/users/civilmanxx/orgs","repos_url":"https://api.github.com/users/civilmanxx/repos","events_url":"https://api.github.com/users/civilmanxx/events{/privacy}","received_events_url":"https://api.github.com/users/civilmanxx/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T23:38:09Z","updated_at":"2016-10-19T23:38:09Z","body":"If Google publish a tensorflow iOS version is only want to prove that tensorflow **could** run under iOS, but not want to support iOS strategically, since iOS is from Apple, then it should be clearly point out on the website that Only the published iOS example works on iOS, but not any new user defined, even for inception v1."}}
{"actor":{"display_login":"civilmanxx"}}