{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/MMdnn/issues/268","repository_url":"https://api.github.com/repos/Microsoft/MMdnn","labels_url":"https://api.github.com/repos/Microsoft/MMdnn/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/MMdnn/issues/268/comments","events_url":"https://api.github.com/repos/Microsoft/MMdnn/issues/268/events","html_url":"https://github.com/Microsoft/MMdnn/issues/268","id":334928474,"node_id":"MDU6SXNzdWUzMzQ5Mjg0NzQ=","number":268,"title":"AttributeError: module 'keras.applications.mobilenet' has no attribute 'relu6'","user":{"login":"pkl728","id":4449765,"node_id":"MDQ6VXNlcjQ0NDk3NjU=","avatar_url":"https://avatars3.githubusercontent.com/u/4449765?v=4","gravatar_id":"","url":"https://api.github.com/users/pkl728","html_url":"https://github.com/pkl728","followers_url":"https://api.github.com/users/pkl728/followers","following_url":"https://api.github.com/users/pkl728/following{/other_user}","gists_url":"https://api.github.com/users/pkl728/gists{/gist_id}","starred_url":"https://api.github.com/users/pkl728/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkl728/subscriptions","organizations_url":"https://api.github.com/users/pkl728/orgs","repos_url":"https://api.github.com/users/pkl728/repos","events_url":"https://api.github.com/users/pkl728/events{/privacy}","received_events_url":"https://api.github.com/users/pkl728/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"JiahaoYao","id":20907377,"node_id":"MDQ6VXNlcjIwOTA3Mzc3","avatar_url":"https://avatars1.githubusercontent.com/u/20907377?v=4","gravatar_id":"","url":"https://api.github.com/users/JiahaoYao","html_url":"https://github.com/JiahaoYao","followers_url":"https://api.github.com/users/JiahaoYao/followers","following_url":"https://api.github.com/users/JiahaoYao/following{/other_user}","gists_url":"https://api.github.com/users/JiahaoYao/gists{/gist_id}","starred_url":"https://api.github.com/users/JiahaoYao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JiahaoYao/subscriptions","organizations_url":"https://api.github.com/users/JiahaoYao/orgs","repos_url":"https://api.github.com/users/JiahaoYao/repos","events_url":"https://api.github.com/users/JiahaoYao/events{/privacy}","received_events_url":"https://api.github.com/users/JiahaoYao/received_events","type":"User","site_admin":false},"assignees":[{"login":"JiahaoYao","id":20907377,"node_id":"MDQ6VXNlcjIwOTA3Mzc3","avatar_url":"https://avatars1.githubusercontent.com/u/20907377?v=4","gravatar_id":"","url":"https://api.github.com/users/JiahaoYao","html_url":"https://github.com/JiahaoYao","followers_url":"https://api.github.com/users/JiahaoYao/followers","following_url":"https://api.github.com/users/JiahaoYao/following{/other_user}","gists_url":"https://api.github.com/users/JiahaoYao/gists{/gist_id}","starred_url":"https://api.github.com/users/JiahaoYao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JiahaoYao/subscriptions","organizations_url":"https://api.github.com/users/JiahaoYao/orgs","repos_url":"https://api.github.com/users/JiahaoYao/repos","events_url":"https://api.github.com/users/JiahaoYao/events{/privacy}","received_events_url":"https://api.github.com/users/JiahaoYao/received_events","type":"User","site_admin":false}],"milestone":null,"comments":14,"created_at":"2018-06-22T15:47:32Z","updated_at":"2018-08-10T03:12:27Z","closed_at":"2018-08-10T03:12:27Z","author_association":"NONE","body":"Platform (like ubuntu 16.04/win10): macOS 10.13.5\r\n\r\nPython version: 3.6\r\n\r\nSource framework with version (like Tensorflow 1.4.1 with GPU): Tensorflow 1.8\r\n\r\nDestination framework with version (like CNTK 2.3 with GPU): toIR\r\n\r\nPre-trained model path (webpath or webdisk path): ./version0056.h5\r\n\r\nRunning scripts:\r\npython -m mmdnn.conversion._script.convertToIR -f keras -d connect4_mobilenet -w version0056.h5\r\n\r\nI have created a keras model using the example found here: https://github.com/AppliedDataSciencePartners/DeepReinforcementLearning\r\n\r\nMy ultimate goal is to try and import this into coreML to test with an iOS app. When I first try to convert to IR in order to convert to coreML I get the following issue:\r\n\r\n```\r\nUsing TensorFlow backend.\r\nTraceback (most recent call last):\r\n  File \"/anaconda3/bin/mmconvert\", line 11, in <module>\r\n    sys.exit(_main())\r\n  File \"/anaconda3/lib/python3.6/site-packages/mmdnn/conversion/_script/convert.py\", line 102, in _main\r\n    ret = convertToIR._convert(ir_args)\r\n  File \"/anaconda3/lib/python3.6/site-packages/mmdnn/conversion/_script/convertToIR.py\", line 39, in _convert\r\n    parser = Keras2Parser(model)\r\n  File \"/anaconda3/lib/python3.6/site-packages/mmdnn/conversion/keras/keras2_parser.py\", line 94, in __init__\r\n    'relu6': _keras.applications.mobilenet.relu6,\r\nAttributeError: module 'keras.applications.mobilenet' has no attribute 'relu6'\r\n```\r\n\r\nSeems like perhaps relu6 is not supported or something like that? Sorry new to this and trying to teach myself how this all fits together!"}}
{"actor":{"display_login":"pkl728"}}