{"action":"closed","issue":{"url":"https://api.github.com/repos/OlafenwaMoses/ImageAI/issues/77","repository_url":"https://api.github.com/repos/OlafenwaMoses/ImageAI","labels_url":"https://api.github.com/repos/OlafenwaMoses/ImageAI/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/OlafenwaMoses/ImageAI/issues/77/comments","events_url":"https://api.github.com/repos/OlafenwaMoses/ImageAI/issues/77/events","html_url":"https://github.com/OlafenwaMoses/ImageAI/issues/77","id":362700277,"node_id":"MDU6SXNzdWUzNjI3MDAyNzc=","number":77,"title":"AttributeError: module 'tensorflow.python.ops.nn' has no attribute 'leaky_relu'","user":{"login":"varunajmera0","id":22893376,"node_id":"MDQ6VXNlcjIyODkzMzc2","avatar_url":"https://avatars3.githubusercontent.com/u/22893376?v=4","gravatar_id":"","url":"https://api.github.com/users/varunajmera0","html_url":"https://github.com/varunajmera0","followers_url":"https://api.github.com/users/varunajmera0/followers","following_url":"https://api.github.com/users/varunajmera0/following{/other_user}","gists_url":"https://api.github.com/users/varunajmera0/gists{/gist_id}","starred_url":"https://api.github.com/users/varunajmera0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varunajmera0/subscriptions","organizations_url":"https://api.github.com/users/varunajmera0/orgs","repos_url":"https://api.github.com/users/varunajmera0/repos","events_url":"https://api.github.com/users/varunajmera0/events{/privacy}","received_events_url":"https://api.github.com/users/varunajmera0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-21T16:58:46Z","updated_at":"2018-10-25T18:48:42Z","closed_at":"2018-10-25T18:48:42Z","author_association":"NONE","body":"Using TensorFlow backend.\r\n<class 'imageai.Detection.ObjectDetection'>\r\nTraceback (most recent call last):\r\n  File \"imaged.py\", line 13, in <module>\r\n    detector.loadModel()\r\n  File \"/usr/local/lib/python3.7/site-packages/imageai/Detection/__init__.py\", line 189, in loadModel\r\n    model = yolo_main(Input(shape=(None, None, 3)), len(self.__yolo_anchors) // 3, len(self.numbers_to_names))\r\n  File \"/usr/local/lib/python3.7/site-packages/imageai/Detection/YOLOv3/models.py\", line 60, in yolo_main\r\n    darknet_network = Model(input, darknet(input))\r\n  File \"/usr/local/lib/python3.7/site-packages/imageai/Detection/YOLOv3/models.py\", line 33, in darknet\r\n    network = NetworkConv2D_BN_Leaky(input=input, channels=32, kernel_size=(3,3))\r\n  File \"/usr/local/lib/python3.7/site-packages/imageai/Detection/YOLOv3/models.py\", line 18, in NetworkConv2D_BN_Leaky\r\n    network = LeakyReLU(alpha=0.1)(network)\r\n  File \"/usr/local/lib/python3.7/site-packages/keras/engine/base_layer.py\", line 457, in __call__\r\n    output = self.call(inputs, **kwargs)\r\n  File \"/usr/local/lib/python3.7/site-packages/keras/layers/advanced_activations.py\", line 46, in call\r\n    return K.relu(inputs, alpha=self.alpha)\r\n  File \"/usr/local/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py\", line 3116, in relu\r\n    x = tf.nn.leaky_relu(x, alpha)\r\nAttributeError: module 'tensorflow.python.ops.nn' has no attribute 'leaky_relu'\r\n"}}
{"actor":{"display_login":"OlafenwaMoses"}}