{"action":"created","issue":{"url":"https://api.github.com/repos/jhfjhfj1/autokeras/issues/99","repository_url":"https://api.github.com/repos/jhfjhfj1/autokeras","labels_url":"https://api.github.com/repos/jhfjhfj1/autokeras/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/jhfjhfj1/autokeras/issues/99/comments","events_url":"https://api.github.com/repos/jhfjhfj1/autokeras/issues/99/events","html_url":"https://github.com/jhfjhfj1/autokeras/issues/99","id":351881792,"node_id":"MDU6SXNzdWUzNTE4ODE3OTI=","number":99,"title":"Incompatible with Google Colaboratory","user":{"login":"PositronBeam","id":26328850,"node_id":"MDQ6VXNlcjI2MzI4ODUw","avatar_url":"https://avatars0.githubusercontent.com/u/26328850?v=4","gravatar_id":"","url":"https://api.github.com/users/PositronBeam","html_url":"https://github.com/PositronBeam","followers_url":"https://api.github.com/users/PositronBeam/followers","following_url":"https://api.github.com/users/PositronBeam/following{/other_user}","gists_url":"https://api.github.com/users/PositronBeam/gists{/gist_id}","starred_url":"https://api.github.com/users/PositronBeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PositronBeam/subscriptions","organizations_url":"https://api.github.com/users/PositronBeam/orgs","repos_url":"https://api.github.com/users/PositronBeam/repos","events_url":"https://api.github.com/users/PositronBeam/events{/privacy}","received_events_url":"https://api.github.com/users/PositronBeam/received_events","type":"User","site_admin":false},"labels":[{"id":755306050,"node_id":"MDU6TGFiZWw3NTUzMDYwNTA=","url":"https://api.github.com/repos/jhfjhfj1/autokeras/labels/bug%20report","name":"bug report","color":"ee0701","default":false}],"state":"closed","locked":false,"assignee":{"login":"chencc6566193","id":8369756,"node_id":"MDQ6VXNlcjgzNjk3NTY=","avatar_url":"https://avatars1.githubusercontent.com/u/8369756?v=4","gravatar_id":"","url":"https://api.github.com/users/chencc6566193","html_url":"https://github.com/chencc6566193","followers_url":"https://api.github.com/users/chencc6566193/followers","following_url":"https://api.github.com/users/chencc6566193/following{/other_user}","gists_url":"https://api.github.com/users/chencc6566193/gists{/gist_id}","starred_url":"https://api.github.com/users/chencc6566193/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chencc6566193/subscriptions","organizations_url":"https://api.github.com/users/chencc6566193/orgs","repos_url":"https://api.github.com/users/chencc6566193/repos","events_url":"https://api.github.com/users/chencc6566193/events{/privacy}","received_events_url":"https://api.github.com/users/chencc6566193/received_events","type":"User","site_admin":false},"assignees":[{"login":"chencc6566193","id":8369756,"node_id":"MDQ6VXNlcjgzNjk3NTY=","avatar_url":"https://avatars1.githubusercontent.com/u/8369756?v=4","gravatar_id":"","url":"https://api.github.com/users/chencc6566193","html_url":"https://github.com/chencc6566193","followers_url":"https://api.github.com/users/chencc6566193/followers","following_url":"https://api.github.com/users/chencc6566193/following{/other_user}","gists_url":"https://api.github.com/users/chencc6566193/gists{/gist_id}","starred_url":"https://api.github.com/users/chencc6566193/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chencc6566193/subscriptions","organizations_url":"https://api.github.com/users/chencc6566193/orgs","repos_url":"https://api.github.com/users/chencc6566193/repos","events_url":"https://api.github.com/users/chencc6566193/events{/privacy}","received_events_url":"https://api.github.com/users/chencc6566193/received_events","type":"User","site_admin":false},{"login":"tl-yang","id":25687558,"node_id":"MDQ6VXNlcjI1Njg3NTU4","avatar_url":"https://avatars2.githubusercontent.com/u/25687558?v=4","gravatar_id":"","url":"https://api.github.com/users/tl-yang","html_url":"https://github.com/tl-yang","followers_url":"https://api.github.com/users/tl-yang/followers","following_url":"https://api.github.com/users/tl-yang/following{/other_user}","gists_url":"https://api.github.com/users/tl-yang/gists{/gist_id}","starred_url":"https://api.github.com/users/tl-yang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tl-yang/subscriptions","organizations_url":"https://api.github.com/users/tl-yang/orgs","repos_url":"https://api.github.com/users/tl-yang/repos","events_url":"https://api.github.com/users/tl-yang/events{/privacy}","received_events_url":"https://api.github.com/users/tl-yang/received_events","type":"User","site_admin":false}],"milestone":null,"comments":16,"created_at":"2018-08-19T07:38:54Z","updated_at":"2018-12-01T11:35:31Z","closed_at":"2018-11-06T02:27:45Z","author_association":"NONE","body":"### Bug Description\r\nAs stated [here](https://stackoverflow.com/questions/51835926/google-colab-runtime-dies-when-using-autokeras), Autokeras kills the Google Colaboratory kernel, in CPU or GPU mode.\r\n\r\n### Reproducing Steps\r\nRun the following [notebook](https://colab.research.google.com/drive/1REPj8pVSpSUvvufHBY693RmkXjnBSKcg), which is a simple copy-paste of the AutoKeras tutorial, with a slight modification: in the AutoKeras API, the package autokeras.image_classifier seems to have been renamed to autokeras.image_supervised, and the [documentation](https://autokeras.com/start/#example) is not yet up to date.\r\n\r\n### Expected Behavior\r\nIt should run, since Colaboratory runs Python 3.6\r\n\r\n### Additional context\r\nColaboratory seems incompatible with the Python multiprocessing API. \r\n\r\nI modified the code of search.py/Searcher in order to remove it, and it worked.\r\nMore clearly, I replaced this:\r\n` multiprocessing.set_start_method('spawn', force=True)`\r\n`pool = multiprocessing.Pool(1)`\r\n`train_results = pool.map_async(train, [(graph, train_data, test_data, self.trainer_args,\r\n                                                os.path.join(self.path, str(model_id) + '.png'),\r\n                                                self.metric, self.loss, self.verbose)])`        \r\nBy this:\r\n`\r\n        train_results = train((graph, train_data, test_data, self.trainer_args,\r\n                                                os.path.join(self.path, str(model_id) + '.png'),\r\n                                                self.metric, self.loss, self.verbose))\r\n`\r\n\r\nMaybe AutoKeras could have an option in order to desactivate the use of that API ?"},"comment":{"url":"https://api.github.com/repos/jhfjhfj1/autokeras/issues/comments/443419923","html_url":"https://github.com/jhfjhfj1/autokeras/issues/99#issuecomment-443419923","issue_url":"https://api.github.com/repos/jhfjhfj1/autokeras/issues/99","id":443419923,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzQxOTkyMw==","user":{"login":"miniamisha","id":29429768,"node_id":"MDQ6VXNlcjI5NDI5NzY4","avatar_url":"https://avatars3.githubusercontent.com/u/29429768?v=4","gravatar_id":"","url":"https://api.github.com/users/miniamisha","html_url":"https://github.com/miniamisha","followers_url":"https://api.github.com/users/miniamisha/followers","following_url":"https://api.github.com/users/miniamisha/following{/other_user}","gists_url":"https://api.github.com/users/miniamisha/gists{/gist_id}","starred_url":"https://api.github.com/users/miniamisha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miniamisha/subscriptions","organizations_url":"https://api.github.com/users/miniamisha/orgs","repos_url":"https://api.github.com/users/miniamisha/repos","events_url":"https://api.github.com/users/miniamisha/events{/privacy}","received_events_url":"https://api.github.com/users/miniamisha/received_events","type":"User","site_admin":false},"created_at":"2018-12-01T11:35:31Z","updated_at":"2018-12-01T11:35:31Z","author_association":"NONE","body":"I am using colab and already !pip install helper , but I facing the error AttributeError: module 'helper' has no attribute 'imshow' and also\r\nAttributeError: module 'helper' has no attribute 'view_classify'\r\nWhat is wrong with helper??\r\n\r\n"}}
{"actor":{"display_login":"miniamisha"}}