{"action":"opened","issue":{"url":"https://api.github.com/repos/CharlesShang/FastMaskRCNN/issues/204","repository_url":"https://api.github.com/repos/CharlesShang/FastMaskRCNN","labels_url":"https://api.github.com/repos/CharlesShang/FastMaskRCNN/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/CharlesShang/FastMaskRCNN/issues/204/comments","events_url":"https://api.github.com/repos/CharlesShang/FastMaskRCNN/issues/204/events","html_url":"https://github.com/CharlesShang/FastMaskRCNN/issues/204","id":341949160,"node_id":"MDU6SXNzdWUzNDE5NDkxNjA=","number":204,"title":"A mistake ：float() argument must be a string or a number, not 'JpegImageFile'  Who can help me","user":{"login":"alone9329","id":30472319,"node_id":"MDQ6VXNlcjMwNDcyMzE5","avatar_url":"https://avatars3.githubusercontent.com/u/30472319?v=4","gravatar_id":"","url":"https://api.github.com/users/alone9329","html_url":"https://github.com/alone9329","followers_url":"https://api.github.com/users/alone9329/followers","following_url":"https://api.github.com/users/alone9329/following{/other_user}","gists_url":"https://api.github.com/users/alone9329/gists{/gist_id}","starred_url":"https://api.github.com/users/alone9329/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alone9329/subscriptions","organizations_url":"https://api.github.com/users/alone9329/orgs","repos_url":"https://api.github.com/users/alone9329/repos","events_url":"https://api.github.com/users/alone9329/events{/privacy}","received_events_url":"https://api.github.com/users/alone9329/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-17T14:39:03Z","updated_at":"2018-07-17T14:39:03Z","closed_at":null,"author_association":"NONE","body":"Traceback (most recent call last):\r\n  File \"main.py\", line 103, in <module>\r\n    tf.app.run()\r\n  File \"C:\\Users\\Lenovo\\AppData\\Local\\Programs\\Python\\Python36\\lib\\site-packages\\tensorflow\\python\\platform\\app.py\", line 48, in run\r\n    _sys.exit(main(_sys.argv[:1] + flags_passthrough))\r\n  File \"main.py\", line 81, in main\r\n    data_dir=FLAGS.data_dir)\r\n  File \"D:\\DCGAN-tensorflow-master\\model.py\", line 83, in __init__\r\n    imreadImg = imread(self.data[0])\r\n  File \"D:\\DCGAN-tensorflow-master\\utils.py\", line 39, in imread\r\n    return scipy.misc.imread(path).astype(np.float)\r\nTypeError: float() argument must be a string or a number, not 'JpegImageFile'\r\n\r\n\r\nHow to solv it"}}
{"actor":{"display_login":"alone9329"}}