<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hatappi1225</author_name>
  <author_url>https://blog.hatena.ne.jp/hatappi1225/</author_url>
  <blog_title>hatappi.blog</blog_title>
  <blog_url>https://hatappi.blog/</blog_url>
  <categories>
  </categories>
  <description>完成品のパフォーマンスがよくなかったので修正しました require 'RMagick' require 'fileutils' labels = %w(airplane automobile bird cat deer dog frog horse ship truck) FileUtils.rm_rf(&quot;output&quot;) labels.each { |l| FileUtils.mkdir_p(&quot;output/#{l}&quot;) } open(&quot;./data_batch_1.bin&quot;, &quot;rb&quot;) do |f| while b = f.read(3073) do datasets = b.unpa…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhatappi.blog%2Fentry%2F2018%2F02%2F27%2F224707&quot; title=&quot;CIFARで提供される画像データをRubyで画像ファイルにする - hatappi.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://cdn-ak.f.st-hatena.com/images/fotolife/h/hatappi1225/20180227/20180227221353.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-02-27 22:47:07</published>
  <title>CIFARで提供される画像データをRubyで画像ファイルにする</title>
  <type>rich</type>
  <url>https://hatappi.blog/entry/2018/02/27/224707</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
