{"blog_url":"https://htn20190109.hatenablog.com/","url":"https://htn20190109.hatenablog.com/entry/2026/10/30/231920","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhtn20190109.hatenablog.com%2Fentry%2F2026%2F10%2F30%2F231920\" title=\"VQ-VAE\u306e\u5b9f\u88c5 - HTN20190109\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","author_url":"https://blog.hatena.ne.jp/HTN20190109/","provider_name":"Hatena Blog","blog_title":"HTN20190109\u306e\u65e5\u8a18","categories":["DL"],"provider_url":"https://hatena.blog","published":"2026-10-30 23:19:20","image_url":null,"author_name":"HTN20190109","description":"https://qiita.com/artemis5656/items/11abb47e6ee73e547305 import torchimport torch.nn as nnimport torch.nn.functional as Ffrom torch.utils.data import DataLoaderfrom torchvision import datasetsfrom torchvision import transformsimport matplotlib.pyplot as plt # GPU\u304c\u5229\u7528\u53ef\u80fd\u306a\u3089GPU# \u4f7f\u7528\u3067\u304d\u306a\u3051\u308c\u3070CPUdevice = torch\u2026","version":"1.0","type":"rich","title":"VQ-VAE\u306e\u5b9f\u88c5"}