<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>venoda</author_name>
  <author_url>https://blog.hatena.ne.jp/venoda/</author_url>
  <blog_title>機械学習ともろもろ</blog_title>
  <blog_url>https://venoda.hatenablog.com/</blog_url>
  <categories>
    <anon>PyTorch</anon>
    <anon>Python</anon>
  </categories>
  <description>1. 概要 2. モデル化の流れ 3. 準備 3.1 データ準備 3.2 前処理 3.3 Datasetの作成 3.4 DataLoaderの作成 4. Lighgningモジュールの定義 4.1. ネットワークの定義 4.2 損失関数の定義 4.3. 最適化手法の定義 5. 学習・評価 5.1. 学習処理の設定 5.2 学習と予測の実行 6. 全体のコード 1. 概要 PyTorchはモデル構築の際に柔軟にコードを書くことができますが、自由度が高いがゆえに学習用のループ処理などが複雑になりがちです。 PyTorch Lightningを使えば、PyTorchで書いていた学習用のループ処理など…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fvenoda.hatenablog.com%2Fentry%2F2021%2F06%2F06%2F005620&quot; title=&quot;PyTorch Lightningによる画像分類の実装 - 機械学習ともろもろ&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://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-06-06 00:56:20</published>
  <title>PyTorch Lightningによる画像分類の実装</title>
  <type>rich</type>
  <url>https://venoda.hatenablog.com/entry/2021/06/06/005620</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
