payload: {"action":"created","issue":{"url":"https://api.github.com/repos/OpenMined/PySyft/issues/2255","repository_url":"https://api.github.com/repos/OpenMined/PySyft","labels_url":"https://api.github.com/repos/OpenMined/PySyft/issues/2255/labels{/name}","comments_url":"https://api.github.com/repos/OpenMined/PySyft/issues/2255/comments","events_url":"https://api.github.com/repos/OpenMined/PySyft/issues/2255/events","html_url":"https://github.com/OpenMined/PySyft/issues/2255","id":453759348,"node_id":"MDU6SXNzdWU0NTM3NTkzNDg=","number":2255,"title":"AttributeError: module 'tensorflow.python.keras.engine.base_layer_utils' has no attribute 'unique_layer_name'","user":{"login":"keenlykeenly","id":11493656,"node_id":"MDQ6VXNlcjExNDkzNjU2","avatar_url":"https://avatars0.githubusercontent.com/u/11493656?v=4","gravatar_id":"","url":"https://api.github.com/users/keenlykeenly","html_url":"https://github.com/keenlykeenly","followers_url":"https://api.github.com/users/keenlykeenly/followers","following_url":"https://api.github.com/users/keenlykeenly/following{/other_user}","gists_url":"https://api.github.com/users/keenlykeenly/gists{/gist_id}","starred_url":"https://api.github.com/users/keenlykeenly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keenlykeenly/subscriptions","organizations_url":"https://api.github.com/users/keenlykeenly/orgs","repos_url":"https://api.github.com/users/keenlykeenly/repos","events_url":"https://api.github.com/users/keenlykeenly/events{/privacy}","received_events_url":"https://api.github.com/users/keenlykeenly/received_events","type":"User","site_admin":false},"labels":[{"id":649919706,"node_id":"MDU6TGFiZWw2NDk5MTk3MDY=","url":"https://api.github.com/repos/OpenMined/PySyft/labels/bug","name":"bug","color":"ee0701","default":true},{"id":792371862,"node_id":"MDU6TGFiZWw3OTIzNzE4NjI=","url":"https://api.github.com/repos/OpenMined/PySyft/labels/keras","name":"keras","color":"4dc411","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-06-08T05:39:32Z","updated_at":"2019-06-09T16:06:56Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\nAttributeError: module 'tensorflow.python.keras.engine.base_layer_utils' has no attribute 'unique_layer_name'.\r\n\r\n**To Reproduce**\r\nIn Part 13b - Secure Classification with Syft Keras and TFE - Secure Model Serving, I encounter the next problem when execeute \"model.share(alice, bob, carol)\":\r\n\r\n---------------------------------------------------------------------------\r\nAttributeError                            Traceback (most recent call last)\r\n<ipython-input-6-5b486064ddb2> in <module>\r\n----> 1 model.share(alice, bob, carol)\r\n\r\nD:\\ProgramData\\Anaconda3\\lib\\site-packages\\syft-0.1.15a1-py3.6.egg\\syft\\frameworks\\keras\\model\\sequential.py in share(model, target_graph, *workers)\r\n     38 \r\n     39     with target_graph.as_default():\r\n---> 40         tfe_model, batch_input_shape = _rebuild_tfe_model(model, stored_keras_weights)\r\n     41 \r\n     42         # Set up a new tfe.serving.QueueServer for the shared TFE model\r\n\r\nD:\\ProgramData\\Anaconda3\\lib\\site-packages\\syft-0.1.15a1-py3.6.egg\\syft\\frameworks\\keras\\model\\sequential.py in _rebuild_tfe_model(keras_model, stored_keras_weights)\r\n    112     \"\"\"\r\n    113 \r\n--> 114     tfe_model = tfe.keras.Sequential()\r\n    115 \r\n    116     for keras_layer in keras_model.layers:\r\n\r\nD:\\ProgramData\\Anaconda3\\lib\\site-packages\\tf_encrypted-0.5.4-py3.6.egg\\tf_encrypted\\keras\\engine\\sequential.py in __init__(self, layers, name)\r\n     10   \"\"\"\r\n     11   def __init__(self, layers=None, name=None):\r\n---> 12     super(Sequential, self).__init__(name=name)\r\n     13 \r\n     14     self._layers = []\r\n\r\nD:\\ProgramData\\Anaconda3\\lib\\site-packages\\tf_encrypted-0.5.4-py3.6.egg\\tf_encrypted\\keras\\engine\\base_layer.py in __init__(self, trainable, name, **kwargs)\r\n     51 \r\n     52     self.trainable = trainable\r\n---> 53     self._init_set_name(name)\r\n     54     self.built = False\r\n     55 \r\n\r\nD:\\ProgramData\\Anaconda3\\lib\\site-packages\\tf_encrypted-0.5.4-py3.6.egg\\tf_encrypted\\keras\\engine\\base_layer.py in _init_set_name(self, name, zero_based)\r\n    108   def _init_set_name(self, name, zero_based=True):\r\n    109     if not name:\r\n--> 110       self._name = base_layer_utils.unique_layer_name(\r\n    111           generic_utils.to_snake_case(self.__class__.__name__),\r\n    112           zero_based=zero_based)\r\n\r\nAttributeError: module 'tensorflow.python.keras.engine.base_layer_utils' has no attribute 'unique_layer_name'\r\n\r\n**Desktop (please complete the following information):**\r\n - OS: [Windows 7 64 bits]\r\n - In anaconda3, python 3.6.4\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/OpenMined/PySyft/issues/comments/500224815","html_url":"https://github.com/OpenMined/PySyft/issues/2255#issuecomment-500224815","issue_url":"https://api.github.com/repos/OpenMined/PySyft/issues/2255","id":500224815,"node_id":"MDEyOklzc3VlQ29tbWVudDUwMDIyNDgxNQ==","user":{"login":"jvmancuso","id":7891333,"node_id":"MDQ6VXNlcjc4OTEzMzM=","avatar_url":"https://avatars2.githubusercontent.com/u/7891333?v=4","gravatar_id":"","url":"https://api.github.com/users/jvmancuso","html_url":"https://github.com/jvmancuso","followers_url":"https://api.github.com/users/jvmancuso/followers","following_url":"https://api.github.com/users/jvmancuso/following{/other_user}","gists_url":"https://api.github.com/users/jvmancuso/gists{/gist_id}","starred_url":"https://api.github.com/users/jvmancuso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvmancuso/subscriptions","organizations_url":"https://api.github.com/users/jvmancuso/orgs","repos_url":"https://api.github.com/users/jvmancuso/repos","events_url":"https://api.github.com/users/jvmancuso/events{/privacy}","received_events_url":"https://api.github.com/users/jvmancuso/received_events","type":"User","site_admin":false},"created_at":"2019-06-09T16:06:56Z","updated_at":"2019-06-09T16:06:56Z","author_association":"MEMBER","body":"The best way to solve this at the moment would be to install your tf-encrypted dependency from source. We will do a release of tf-encrypted on Monday that fixes this issue in the pip package."}}
other: {"actor":{"display_login":"jvmancuso"}}