<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tmoribanner</author_name>
  <author_url>https://blog.hatena.ne.jp/tmoribanner/</author_url>
  <blog_title>tmori’s blog</blog_title>
  <blog_url>https://tmoribanner.hateblo.jp/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>エラー</anon>
    <anon>PyTorch</anon>
  </categories>
  <description>pytorchで [Errno 32] Broken pipe の解消方法について 実行環境 windows 10 PyTorch v1.2 エラー発生原因 このエラーはwindows＋torch.utils.data.DataLoaderのnum_workers&gt;1 + IPythonの書き方で発生してるようです。 同じコードをcentosで実行すると正常に動作するのでwindows動作でのバグか仕様みたいです。 dataloaderのnum_workersを複数にしてマルチスレッドで処理するときにエラーが発生してるみたいです。 pytorch.org 解消方法 def main(): の中…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftmoribanner.hateblo.jp%2Fentry%2F2019%2F10%2F13%2F014429&quot; title=&quot;【Python】[Errno 32] Broken pipe【PyTroch】 - tmori’s 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-10-13 01:44:29</published>
  <title>【Python】[Errno 32] Broken pipe【PyTroch】</title>
  <type>rich</type>
  <url>https://tmoribanner.hateblo.jp/entry/2019/10/13/014429</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
