{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/AutonomousDrivingCookbook/issues/25","repository_url":"https://api.github.com/repos/Microsoft/AutonomousDrivingCookbook","labels_url":"https://api.github.com/repos/Microsoft/AutonomousDrivingCookbook/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/AutonomousDrivingCookbook/issues/25/comments","events_url":"https://api.github.com/repos/Microsoft/AutonomousDrivingCookbook/issues/25/events","html_url":"https://github.com/Microsoft/AutonomousDrivingCookbook/issues/25","id":310261520,"number":25,"title":"error train the model","user":{"login":"hyybuaa","id":37266368,"avatar_url":"https://avatars2.githubusercontent.com/u/37266368?v=4","gravatar_id":"","url":"https://api.github.com/users/hyybuaa","html_url":"https://github.com/hyybuaa","followers_url":"https://api.github.com/users/hyybuaa/followers","following_url":"https://api.github.com/users/hyybuaa/following{/other_user}","gists_url":"https://api.github.com/users/hyybuaa/gists{/gist_id}","starred_url":"https://api.github.com/users/hyybuaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyybuaa/subscriptions","organizations_url":"https://api.github.com/users/hyybuaa/orgs","repos_url":"https://api.github.com/users/hyybuaa/repos","events_url":"https://api.github.com/users/hyybuaa/events{/privacy}","received_events_url":"https://api.github.com/users/hyybuaa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-31T18:28:12Z","updated_at":"2018-04-01T18:17:13Z","closed_at":null,"author_association":"NONE","body":"python35 cudnn5.1 keras2.1.2 numpy (1.14.2)\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\traitlets\\traitlets.py\", line 526, in get\r\n    value = obj._trait_values[self.name]\r\nKeyError: 'layout'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\traitlets\\traitlets.py\", line 526, in get\r\n    value = obj._trait_values[self.name]\r\nKeyError: 'kernel'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"E:/AutonomousDriving/AirSimE2EDeepLearning/test2.py\", line 122, in <module>\r\n    validation_data=eval_generator, validation_steps=num_eval_examples//batch_size, verbose=2)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\keras\\legacy\\interfaces.py\", line 87, in wrapper\r\n    return func(*args, **kwargs)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\keras\\engine\\training.py\", line 2072, in fit_generator\r\n    callbacks.on_train_begin()\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\keras\\callbacks.py\", line 126, in on_train_begin\r\n    callback.on_train_begin(logs)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\keras_tqdm\\tqdm_callback.py\", line 129, in on_train_begin\r\n    total=epochs)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\keras_tqdm\\tqdm_callback.py\", line 67, in build_tqdm_outer\r\n    return self.tqdm(desc=desc, total=total, leave=self.leave_outer)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\keras_tqdm\\tqdm_notebook_callback.py\", line 33, in tqdm\r\n    return tqdm_notebook(desc=desc, total=total, leave=leave)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\tqdm\\__init__.py\", line 22, in tqdm_notebook\r\n    return _tqdm_notebook(*args, **kwargs)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\tqdm\\_tqdm_notebook.py\", line 176, in __init__\r\n    self.sp = self.status_printer(self.fp, self.total, self.desc)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\tqdm\\_tqdm_notebook.py\", line 96, in status_printer\r\n    pbar = IntProgress(min=0, max=total)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\ipywidgets\\widgets\\widget_int.py\", line 57, in __init__\r\n    super(cls, self).__init__(**kwargs)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\ipywidgets\\widgets\\widget_int.py\", line 95, in __init__\r\n    super(_BoundedInt, self).__init__(**kwargs)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\ipywidgets\\widgets\\widget_int.py\", line 76, in __init__\r\n    super(_Int, self).__init__(**kwargs)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\ipywidgets\\widgets\\domwidget.py\", line 90, in __init__\r\n    super(DOMWidget, self).__init__(*pargs, **kwargs)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\ipywidgets\\widgets\\widget.py\", line 184, in __init__\r\n    self.open()\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\ipywidgets\\widgets\\widget.py\", line 197, in open\r\n    state, buffer_keys, buffers = self._split_state_buffers(self.get_state())\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\ipywidgets\\widgets\\widget.py\", line 291, in get_state\r\n    value = to_json(getattr(self, k), self)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\traitlets\\traitlets.py\", line 554, in __get__\r\n    return self.get(obj, cls)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\traitlets\\traitlets.py\", line 533, in get\r\n    value = self._validate(obj, dynamic_default())\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\ipywidgets\\widgets\\domwidget.py\", line 23, in _layout_default\r\n    return Layout()\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\ipywidgets\\widgets\\widget.py\", line 184, in __init__\r\n    self.open()\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\ipywidgets\\widgets\\widget.py\", line 203, in open\r\n    self.comm = Comm(**args)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\ipykernel\\comm\\comm.py\", line 56, in __init__\r\n    self.open(data=data, metadata=metadata, buffers=buffers)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\ipykernel\\comm\\comm.py\", line 83, in open\r\n    comm_manager = getattr(self.kernel, 'comm_manager', None)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\traitlets\\traitlets.py\", line 554, in __get__\r\n    return self.get(obj, cls)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\traitlets\\traitlets.py\", line 533, in get\r\n    value = self._validate(obj, dynamic_default())\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\traitlets\\traitlets.py\", line 589, in _validate\r\n    value = self.validate(obj, value)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\traitlets\\traitlets.py\", line 1681, in validate\r\n    self.error(obj, value)\r\n  File \"C:\\Users\\oleg\\Anaconda3\\lib\\site-packages\\traitlets\\traitlets.py\", line 1528, in error\r\n    raise TraitError(e)\r\ntraitlets.traitlets.TraitError: The 'kernel' trait of a Comm instance must be a Kernel, but a value of class 'NoneType' (i.e. None) was specified.\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/AutonomousDrivingCookbook/issues/comments/377805923","html_url":"https://github.com/Microsoft/AutonomousDrivingCookbook/issues/25#issuecomment-377805923","issue_url":"https://api.github.com/repos/Microsoft/AutonomousDrivingCookbook/issues/25","id":377805923,"user":{"login":"mitchellspryn","id":20287427,"avatar_url":"https://avatars3.githubusercontent.com/u/20287427?v=4","gravatar_id":"","url":"https://api.github.com/users/mitchellspryn","html_url":"https://github.com/mitchellspryn","followers_url":"https://api.github.com/users/mitchellspryn/followers","following_url":"https://api.github.com/users/mitchellspryn/following{/other_user}","gists_url":"https://api.github.com/users/mitchellspryn/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellspryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellspryn/subscriptions","organizations_url":"https://api.github.com/users/mitchellspryn/orgs","repos_url":"https://api.github.com/users/mitchellspryn/repos","events_url":"https://api.github.com/users/mitchellspryn/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellspryn/received_events","type":"User","site_admin":false},"created_at":"2018-04-01T18:17:13Z","updated_at":"2018-04-01T18:17:13Z","author_association":"COLLABORATOR","body":"It sounds like your environment is not set up properly. Please follow the instructions that are specified in the \"Prerequisites and Setup\" section of the main README page [here](https://github.com/Microsoft/AutonomousDrivingCookbook/tree/master/AirSimE2EDeepLearning). This explains in detail how to install anaconda and the dependencies. \r\n\r\nAlso, the tutorial files are jupyter notebooks. AFAIK, they won't work directly in pycharm unless you convert them to standard python files. Also, I don't know how pycharm interacts with anaconda virtual environments - you're probably better off just using the notebooks. Is there a specific reason you're trying to use pycharm?"}}
{"actor":{"display_login":"mitchellspryn"}}