{"action":"opened","issue":{"url":"https://api.github.com/repos/tensorflow/models/issues/3606","repository_url":"https://api.github.com/repos/tensorflow/models","labels_url":"https://api.github.com/repos/tensorflow/models/issues/3606/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/models/issues/3606/comments","events_url":"https://api.github.com/repos/tensorflow/models/issues/3606/events","html_url":"https://github.com/tensorflow/models/issues/3606","id":305448707,"number":3606,"title":"AttributeError: 'module' object has no attribute 'DEFINE_enum'","user":{"login":"lpengc","id":35264185,"avatar_url":"https://avatars2.githubusercontent.com/u/35264185?v=4","gravatar_id":"","url":"https://api.github.com/users/lpengc","html_url":"https://github.com/lpengc","followers_url":"https://api.github.com/users/lpengc/followers","following_url":"https://api.github.com/users/lpengc/following{/other_user}","gists_url":"https://api.github.com/users/lpengc/gists{/gist_id}","starred_url":"https://api.github.com/users/lpengc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpengc/subscriptions","organizations_url":"https://api.github.com/users/lpengc/orgs","repos_url":"https://api.github.com/users/lpengc/repos","events_url":"https://api.github.com/users/lpengc/events{/privacy}","received_events_url":"https://api.github.com/users/lpengc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-15T07:58:39Z","updated_at":"2018-03-15T07:58:39Z","closed_at":null,"author_association":"NONE","body":"I was trying to run the deeplab's recent demo, when I run the code:bash download_and_convert_voc2012.sh, it shows that something wrong with the model's attribute, I don't know if there have someone meet the same trouble like me, and if yes, could u please tell me how to solve this problem, thanks a lot! Here are logs below:\r\n\r\nlipengcheng@bogon:/data/lipengcheng/deeplab-master/research/deeplab/datasets$ bash  download_and_convert_voc2012.sh\r\nUncompressing VOCtrainval_11-May-2012.tar\r\nRemoving the color map in ground truth annotations...\r\nI tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcublas.so.8.0 locally\r\nI tensorflow/stream_executor/dso_loader.cc:126] Couldn't open CUDA library libcudnn.so.5. LD_LIBRARY_PATH: \r\nI tensorflow/stream_executor/cuda/cuda_dnn.cc:3517] Unable to load cuDNN DSO\r\nI tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcufft.so.8.0 locally\r\nI tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcuda.so.1 locally\r\nI tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcurand.so.8.0 locally\r\nConverting PASCAL VOC 2012 dataset...\r\nI tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcublas.so.8.0 locally\r\nI tensorflow/stream_executor/dso_loader.cc:126] Couldn't open CUDA library libcudnn.so.5. LD_LIBRARY_PATH: \r\nI tensorflow/stream_executor/cuda/cuda_dnn.cc:3517] Unable to load cuDNN DSO\r\nI tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcufft.so.8.0 locally\r\nI tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcuda.so.1 locally\r\nI tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcurand.so.8.0 locally\r\nTraceback (most recent call last):\r\n  File \"./build_voc2012_data.py\", line 57, in <module>\r\n    import build_data\r\n  File \"/data/lipengcheng/deeplab-master/research/deeplab/datasets/build_data.py\", line 37, in <module>\r\n    tf.app.flags.DEFINE_enum('image_format', 'png', ['jpg', 'jpeg', 'png'],\r\nAttributeError: 'module' object has no attribute 'DEFINE_enum'"}}
{"actor":{"display_login":"lpengc"}}