<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takaherox</author_name>
  <author_url>https://blog.hatena.ne.jp/takaherox/</author_url>
  <blog_title>tkherox blog</blog_title>
  <blog_url>https://takaherox.hatenablog.com/</blog_url>
  <categories>
    <anon>DeepLeaning</anon>
    <anon>Pytorch</anon>
    <anon>ディープラーニング</anon>
    <anon>データサイエンス</anon>
  </categories>
  <description>はじめに モデル保存パターン 各パターンの解説 state_dictのモデル保存 entireのモデル保存 TorchScriptのモデル保存 べストな保存方法 まとめ はじめに TorchServeを利用してサービングを実施する際にモデルの保存方法についていくつかパターンがあり，TorchServeで保存したモデルを読み込む際にうまく動作しないといった事があったのでしっかり違いを把握しようと思ってこの記事を書いています．この記事を読んでくださっている人の中にもよく分からずに何となくPytorchにおけるモデル保存を実施している人もいるかと思いますのでそう言った方の参考になればと思います．ちな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakaherox.hatenablog.com%2Fentry%2F2021%2F01%2F09%2F230332&quot; title=&quot;Pytorchにおけるモデル保存の使い分け - tkherox blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://m.media-amazon.com/images/I/51EAPgDft1L.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-01-09 23:03:32</published>
  <title>Pytorchにおけるモデル保存の使い分け</title>
  <type>rich</type>
  <url>https://takaherox.hatenablog.com/entry/2021/01/09/230332</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
