{"id":4215,"date":"2020-01-31T18:14:42","date_gmt":"2020-01-31T18:14:42","guid":{"rendered":"http:\/\/www.ipsych.me\/?p=4215"},"modified":"2020-01-31T18:14:42","modified_gmt":"2020-01-31T18:14:42","slug":"using-google-coral-in-macos-10-13-5","status":"publish","type":"post","link":"https:\/\/www.ipsych.me\/?p=4215","title":{"rendered":"Using Google Coral in MacOS 10.13.5"},"content":{"rendered":"<p>Google announced that Coral TPU is now support <a href=\"https:\/\/coral.ai\/docs\/accelerator\/get-started\/#on-mac\">Mac OS!<\/a><\/p>\n<p>Unfortunately, there are several limitations. The <a href=\"https:\/\/www.tensorflow.org\/lite\/guide\/python\">official TF lite distribution<\/a> only supports Mac OS &gt;10.14.<\/p>\n<p>However, the .whl file is just .zip file. so, Download the .whl with proper Python version, unzip and copy them to dist-packages folder just works.<\/p>\n<p>After install edgetpu runtime file, the dylib path modification is required.<\/p>\n<blockquote>\n<p class=\"p1\"><span class=\"s1\">install_name_tool -change \/opt\/local\/lib\/libusb-1.0.0.dylib \/usr\/local\/lib\/libusb-1.0.0.dylib \/usr\/local\/lib\/libedgetpu.1.dylib<\/span><\/p>\n<\/blockquote>\n<p>Also, the latest libusb-1.0.0 should be installed. Below error means libusb is too old to support USB 3.0. Just remove old libusb and install it with homebrew.<\/p>\n<blockquote><p>Incompatible library <span class=\"string\">version:<\/span> <span class=\"s1\">libedgetpu<\/span> requires version <span class=\"number\">3.0<\/span><span class=\"number\">.0<\/span> or later, but libusb-<span class=\"number\">1.0<\/span><span class=\"number\">.0<\/span>.dylib provides version <span class=\"number\">2.0<\/span><span class=\"number\">.0<\/span><\/p><\/blockquote>\n<p>Than Works like charm!<\/p>\n<p>It&#8217;s really beneficial to test the TFlite model with edge TPU in development system.<\/p>\n<p><a href=\"http:\/\/www.ipsych.me\/wp-content\/uploads\/2020\/01\/Screen-Shot-2020-02-01-at-3.13.33-AM.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-4216\" src=\"http:\/\/www.ipsych.me\/wp-content\/uploads\/2020\/01\/Screen-Shot-2020-02-01-at-3.13.33-AM.png\" alt=\"\" width=\"515\" height=\"464\" srcset=\"https:\/\/www.ipsych.me\/wp-content\/uploads\/2020\/01\/Screen-Shot-2020-02-01-at-3.13.33-AM.png 515w, https:\/\/www.ipsych.me\/wp-content\/uploads\/2020\/01\/Screen-Shot-2020-02-01-at-3.13.33-AM-300x270.png 300w\" sizes=\"(max-width: 515px) 100vw, 515px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google announced that Coral TPU is now support Mac OS! Unfortunately, there are several limitations. The official TF lite distribution only supports Mac OS &gt;10.14. However, the .whl file is just .zip file. so, Download the .whl with proper Python version, unzip and copy them to dist-packages folder just works. After install edgetpu runtime file, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[44,43,45],"class_list":["post-4215","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-coral","tag-tensorflow","tag-tpu"],"_links":{"self":[{"href":"https:\/\/www.ipsych.me\/index.php?rest_route=\/wp\/v2\/posts\/4215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ipsych.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ipsych.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ipsych.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ipsych.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4215"}],"version-history":[{"count":1,"href":"https:\/\/www.ipsych.me\/index.php?rest_route=\/wp\/v2\/posts\/4215\/revisions"}],"predecessor-version":[{"id":4217,"href":"https:\/\/www.ipsych.me\/index.php?rest_route=\/wp\/v2\/posts\/4215\/revisions\/4217"}],"wp:attachment":[{"href":"https:\/\/www.ipsych.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ipsych.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ipsych.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}