{"action":"created","issue":{"url":"https://api.github.com/repos/google/aiyprojects-raspbian/issues/488","repository_url":"https://api.github.com/repos/google/aiyprojects-raspbian","labels_url":"https://api.github.com/repos/google/aiyprojects-raspbian/issues/488/labels{/name}","comments_url":"https://api.github.com/repos/google/aiyprojects-raspbian/issues/488/comments","events_url":"https://api.github.com/repos/google/aiyprojects-raspbian/issues/488/events","html_url":"https://github.com/google/aiyprojects-raspbian/issues/488","id":359763420,"node_id":"MDU6SXNzdWUzNTk3NjM0MjA=","number":488,"title":"Model 'object_detection' is not loaded.","user":{"login":"RickZLLiao","id":43231205,"node_id":"MDQ6VXNlcjQzMjMxMjA1","avatar_url":"https://avatars1.githubusercontent.com/u/43231205?v=4","gravatar_id":"","url":"https://api.github.com/users/RickZLLiao","html_url":"https://github.com/RickZLLiao","followers_url":"https://api.github.com/users/RickZLLiao/followers","following_url":"https://api.github.com/users/RickZLLiao/following{/other_user}","gists_url":"https://api.github.com/users/RickZLLiao/gists{/gist_id}","starred_url":"https://api.github.com/users/RickZLLiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RickZLLiao/subscriptions","organizations_url":"https://api.github.com/users/RickZLLiao/orgs","repos_url":"https://api.github.com/users/RickZLLiao/repos","events_url":"https://api.github.com/users/RickZLLiao/events{/privacy}","received_events_url":"https://api.github.com/users/RickZLLiao/received_events","type":"User","site_admin":false},"labels":[{"id":958155431,"node_id":"MDU6TGFiZWw5NTgxNTU0MzE=","url":"https://api.github.com/repos/google/aiyprojects-raspbian/labels/Vision","name":"Vision","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2018-09-13T06:46:10Z","updated_at":"2018-09-18T12:46:44Z","closed_at":null,"author_association":"NONE","body":"Hi \r\n\r\n   I retrain with MobileNet SSD V1 with 256x256 DM=0.125，but I got an issue as follw\r\nCould anybody solve the issue ?\r\npi@raspberrypi:~/AIY-voice-kit-python/src/examples/vision $ ./object_detection.py --input glassskew_Resized.png --output glassskew_detected.png\r\nTraceback (most recent call last):\r\n  File \"/opt/aiy/projects-python/src/aiy/_drivers/_spicomm.py\", line 128, in transact\r\n    fcntl.ioctl(self._dev, SPICOMM_IOCTL_TRANSACT, self._tbuf)\r\nOSError: [Errno 14] Bad address\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"./object_detection.py\", line 39, in main\r\n    result = inference.run(image_center)\r\n  File \"/opt/aiy/projects-python/src/aiy/vision/inference.py\", line 100, in run\r\n    return self._engine.image_inference(self._key, image, params)\r\n  File \"/opt/aiy/projects-python/src/aiy/vision/inference.py\", line 327, in image_inference\r\n    return self._communicate(request).inference_result\r\n  File \"/opt/aiy/projects-python/src/aiy/vision/inference.py\", line 191, in _communicate\r\n    response.ParseFromString(self._transport.send(request.SerializeToString()))\r\n  File \"/opt/aiy/projects-python/src/aiy/_drivers/_transport.py\", line 33, in send\r\n    return self._spicomm.transact(request)\r\n  File \"/opt/aiy/projects-python/src/aiy/_drivers/_spicomm.py\", line 143, in transact\r\n    raise SpicommInternalError\r\naiy._drivers._spicomm.SpicommInternalError\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"./object_detection.py\", line 50, in <module>\r\n    main()\r\n  File \"./object_detection.py\", line 46, in main\r\n    image.save(args.output)\r\n  File \"/opt/aiy/projects-python/src/aiy/vision/inference.py\", line 110, in __exit__\r\n    self.close()\r\n  File \"/opt/aiy/projects-python/src/aiy/vision/inference.py\", line 103, in close\r\n    self._engine.unload_model(self._key)\r\n  File \"/opt/aiy/projects-python/src/aiy/vision/inference.py\", line 251, in unload_model\r\n    self._communicate(request)\r\n  File \"/opt/aiy/projects-python/src/aiy/vision/inference.py\", line 194, in _communicate\r\n    raise InferenceException(response.status.message)\r\naiy.vision.inference.InferenceException: UnloadModel: Model 'object_detection' is not loaded.\r\n"},"comment":{"url":"https://api.github.com/repos/google/aiyprojects-raspbian/issues/comments/422378075","html_url":"https://github.com/google/aiyprojects-raspbian/issues/488#issuecomment-422378075","issue_url":"https://api.github.com/repos/google/aiyprojects-raspbian/issues/488","id":422378075,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjM3ODA3NQ==","user":{"login":"RickZLLiao","id":43231205,"node_id":"MDQ6VXNlcjQzMjMxMjA1","avatar_url":"https://avatars1.githubusercontent.com/u/43231205?v=4","gravatar_id":"","url":"https://api.github.com/users/RickZLLiao","html_url":"https://github.com/RickZLLiao","followers_url":"https://api.github.com/users/RickZLLiao/followers","following_url":"https://api.github.com/users/RickZLLiao/following{/other_user}","gists_url":"https://api.github.com/users/RickZLLiao/gists{/gist_id}","starred_url":"https://api.github.com/users/RickZLLiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RickZLLiao/subscriptions","organizations_url":"https://api.github.com/users/RickZLLiao/orgs","repos_url":"https://api.github.com/users/RickZLLiao/repos","events_url":"https://api.github.com/users/RickZLLiao/events{/privacy}","received_events_url":"https://api.github.com/users/RickZLLiao/received_events","type":"User","site_admin":false},"created_at":"2018-09-18T12:46:44Z","updated_at":"2018-09-18T12:46:44Z","author_association":"NONE","body":"@manoj7410，thanks your responding, i'll try it. And let you know the result. "}}
{"actor":{"display_login":"RickZLLiao"}}