{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/19211","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/19211/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/19211/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/19211/events","html_url":"https://github.com/tensorflow/tensorflow/issues/19211","id":322127145,"number":19211,"title":"TensorRT engine requires consistent batch size","user":{"login":"chiachunfu","id":18520288,"avatar_url":"https://avatars1.githubusercontent.com/u/18520288?v=4","gravatar_id":"","url":"https://api.github.com/users/chiachunfu","html_url":"https://github.com/chiachunfu","followers_url":"https://api.github.com/users/chiachunfu/followers","following_url":"https://api.github.com/users/chiachunfu/following{/other_user}","gists_url":"https://api.github.com/users/chiachunfu/gists{/gist_id}","starred_url":"https://api.github.com/users/chiachunfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiachunfu/subscriptions","organizations_url":"https://api.github.com/users/chiachunfu/orgs","repos_url":"https://api.github.com/users/chiachunfu/repos","events_url":"https://api.github.com/users/chiachunfu/events{/privacy}","received_events_url":"https://api.github.com/users/chiachunfu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"reedwm","id":6510203,"avatar_url":"https://avatars2.githubusercontent.com/u/6510203?v=4","gravatar_id":"","url":"https://api.github.com/users/reedwm","html_url":"https://github.com/reedwm","followers_url":"https://api.github.com/users/reedwm/followers","following_url":"https://api.github.com/users/reedwm/following{/other_user}","gists_url":"https://api.github.com/users/reedwm/gists{/gist_id}","starred_url":"https://api.github.com/users/reedwm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reedwm/subscriptions","organizations_url":"https://api.github.com/users/reedwm/orgs","repos_url":"https://api.github.com/users/reedwm/repos","events_url":"https://api.github.com/users/reedwm/events{/privacy}","received_events_url":"https://api.github.com/users/reedwm/received_events","type":"User","site_admin":false},"assignees":[{"login":"reedwm","id":6510203,"avatar_url":"https://avatars2.githubusercontent.com/u/6510203?v=4","gravatar_id":"","url":"https://api.github.com/users/reedwm","html_url":"https://github.com/reedwm","followers_url":"https://api.github.com/users/reedwm/followers","following_url":"https://api.github.com/users/reedwm/following{/other_user}","gists_url":"https://api.github.com/users/reedwm/gists{/gist_id}","starred_url":"https://api.github.com/users/reedwm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reedwm/subscriptions","organizations_url":"https://api.github.com/users/reedwm/orgs","repos_url":"https://api.github.com/users/reedwm/repos","events_url":"https://api.github.com/users/reedwm/events{/privacy}","received_events_url":"https://api.github.com/users/reedwm/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-05-11T00:11:04Z","updated_at":"2018-05-14T21:10:15Z","closed_at":null,"author_association":"NONE","body":"### System information\r\n- **Have I written custom code (as opposed to using a stock example script provided in TensorFlow)**: Yes, custom SSD model\r\n- **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**: Linux Ubuntu 16.04\r\n- **TensorFlow installed from (source or binary)**: nvidia gpu cloud docker container 18.04 for V100\r\n                                                                                from source for 1080 Ti\r\n- **TensorFlow version (use command below)**: 1.7.0\r\n- **Python version**: 2.7\r\n- **Bazel version (if compiling from source)**: 0.11.1\r\n- **GCC/Compiler version (if compiling from source)**: 5.4.0\r\n- **CUDA/cuDNN version**: 9 / 7\r\n- **GPU model and memory**: V100 (16GB) 1080Ti (11GB)\r\n- **Exact command to reproduce**: N/A \r\n\r\n### Source code / logs\r\nRun TF-TRT with custom SSD and got the following message:\r\nF tensorflow/contrib/tensorrt/shape_fn/trt_shfn.cc:52] TensorRT engine requires consistent batch size\r\n\r\nAfter commenting out the line 52 in trt_shfn.cc and recompile with bazel, the model ran properly and output expected results. Suspect that this dimension check has a bug and does not cover all the cases. \r\n\r\nUse the code example from [here](https://developer.download.nvidia.com/devblogs/tftrt_sample.tar.xz) and modify to load custom SSD model.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/388963921","html_url":"https://github.com/tensorflow/tensorflow/issues/19211#issuecomment-388963921","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/19211","id":388963921,"user":{"login":"reedwm","id":6510203,"avatar_url":"https://avatars2.githubusercontent.com/u/6510203?v=4","gravatar_id":"","url":"https://api.github.com/users/reedwm","html_url":"https://github.com/reedwm","followers_url":"https://api.github.com/users/reedwm/followers","following_url":"https://api.github.com/users/reedwm/following{/other_user}","gists_url":"https://api.github.com/users/reedwm/gists{/gist_id}","starred_url":"https://api.github.com/users/reedwm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reedwm/subscriptions","organizations_url":"https://api.github.com/users/reedwm/orgs","repos_url":"https://api.github.com/users/reedwm/repos","events_url":"https://api.github.com/users/reedwm/events{/privacy}","received_events_url":"https://api.github.com/users/reedwm/received_events","type":"User","site_admin":false},"created_at":"2018-05-14T21:10:15Z","updated_at":"2018-05-14T21:10:15Z","author_association":"MEMBER","body":"/CC @aaroey"}}
{"actor":{"display_login":"reedwm"}}