{"id":12186,"date":"2022-06-06T10:00:00","date_gmt":"2022-06-06T01:00:00","guid":{"rendered":"https:\/\/www.gigas-jp.com\/appnews\/?p=12186"},"modified":"2022-06-06T10:24:43","modified_gmt":"2022-06-06T01:24:43","slug":"what-is-onnx","status":"publish","type":"post","link":"https:\/\/www.gigas-jp.com\/appnews\/archives\/12186","title":{"rendered":"What is ONNX"},"content":{"rendered":"\n<p>ONNX is a machine learning framework which acts like a medium to convert between different machine learning frameworks.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" src=\"https:\/\/pbs.twimg.com\/media\/EX_13LnXsAEMp1L?format=jpg&amp;name=medium\" alt=\"Image\" width=\"840\" height=\"420\" \/><figcaption>Credit : LF AI &amp; Data Foundation<\/figcaption><\/figure>\n\n\n\n<p>ONNX is designed to enable framework interoperability. There are many great machine learning libraries in multiple languages \u2014 PyTorch, TensorFlow, MXNet, and Caffe are just a few of the most popular ones in recent years, but there are many others.<br>The idea is that you can use one stack of tools to train your model and use another for inference and prediction to expand your model.<\/p>\n\n\n\n<p>For example, once you&#8217;ve trained your model, you need to deploy it to a new iOS app so that anyone with a previously trained model can see the safety of their food. I first trained my model with PyTorch, but iOS expects to use CoreML for use within the app. ONNX is an intermediate representation of the model that allows you to easily move from one environment to another.<\/p>\n\n\n\n<p>With tools such as ONNX-CoreML, you can now easily convert pre-trained models to files, import them into XCode, and integrate them seamlessly with your application.<\/p>\n\n\n\n<p>This is just an overview of what ONNX is about. I will talk more detail in future.<\/p>\n\n\n\n<p>Yuuma<\/p>\n<div class='wp_social_bookmarking_light'>\n            <div class=\"wsbl_google_plus_one\"><g:plusone size=\"medium\" annotation=\"none\" href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/12186\" ><\/g:plusone><\/div>\n            <div class=\"wsbl_hatena_button\"><a href=\"\/\/b.hatena.ne.jp\/entry\/https:\/\/www.gigas-jp.com\/appnews\/archives\/12186\" class=\"hatena-bookmark-button\" data-hatena-bookmark-title=\"What is ONNX\" data-hatena-bookmark-layout=\"standard\" title=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\"> <img src=\"\/\/b.hatena.ne.jp\/images\/entry-button\/button-only@2x.png\" alt=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\" width=\"20\" height=\"20\" style=\"border: none;\" \/><\/a><script type=\"text\/javascript\" src=\"\/\/b.hatena.ne.jp\/js\/bookmark_button.js\" charset=\"utf-8\" async=\"async\"><\/script><\/div>\n            <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/12186\" data-text=\"What is ONNX\" data-via=\"GIGASJAPAN_APPS\" data-lang=\"ja\">Tweet<\/a><\/div>\n            <div class=\"wsbl_facebook_like\"><div id=\"fb-root\"><\/div><fb:like href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/12186\" layout=\"button_count\" action=\"like\" width=\"100\" share=\"false\" show_faces=\"false\" ><\/fb:like><\/div>\n            <div class=\"wsbl_facebook_send\"><div id=\"fb-root\"><\/div><fb:send href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/12186\" colorscheme=\"light\" ><\/fb:send><\/div>\n    <\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>ONNX is a machine learning framework which acts like a medium to convert between different machine learning fr [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[96],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/12186"}],"collection":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/comments?post=12186"}],"version-history":[{"count":1,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/12186\/revisions"}],"predecessor-version":[{"id":12187,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/12186\/revisions\/12187"}],"wp:attachment":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/media?parent=12186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/categories?post=12186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/tags?post=12186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}