{"id":5691,"date":"2024-10-11T15:39:21","date_gmt":"2024-10-11T06:39:21","guid":{"rendered":"https:\/\/blog.since2020.jp\/?p=5691"},"modified":"2024-10-11T15:39:21","modified_gmt":"2024-10-11T06:39:21","slug":"transforms_role_and_kind","status":"publish","type":"post","link":"https:\/\/since2020.jp\/media\/transforms_role_and_kind\/","title":{"rendered":"\u753b\u50cf\u5206\u985e\u306e\u9375\uff01Transforms\u306e\u5f79\u5272\u3068\u7a2e\u985e"},"content":{"rendered":"\n<p>Transforms\u306f\u3001\u753b\u50cf\u5206\u985e\u306b\u304a\u3044\u3066\u306a\u305c\u91cd\u8981\u306a\u306e\u304b\uff1f\u305d\u306e\u5f79\u5272\u3068\u52b9\u679c\u7684\u306a\u6d3b\u7528\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059<\/p>\n\n\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>\u4eca\u56de\u306f\u3001PyTorch\u306etransforms\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001transforms\u306e\u6982\u8981\u304b\u3089\u3001\u5b9f\u88c5\u65b9\u6cd5\u3001\u3055\u3089\u306b\u306f\u753b\u50cf\u51e6\u7406\u306e\u30c7\u30fc\u30bf\u62e1\u5f35\u6a5f\u80fd\u307e\u3067\u3092\u9806\u3092\u8ffd\u3063\u3066\u8aac\u660e\u3057\u3066\u3044\u307e\u3059\u3002PyTorch\u3092\u4f7f\u3063\u305f\u753b\u50cf\u51e6\u7406\u3084\u30c7\u30fc\u30bf\u306e\u524d\u51e6\u7406\u306b\u8208\u5473\u304c\u3042\u308b\u65b9\u306f\u3001\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n<h2>Transforms\u3068\u306f<\/h2>\n<p>transforms\u306f\u3001PyTorch\u3067\u30c7\u30fc\u30bf\u306e\u524d\u51e6\u7406\u3084\u30c7\u30fc\u30bf\u62e1\u5f35\u3092\u884c\u3046\u305f\u3081\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3059\u3002\u7279\u306b\u3001\u753b\u50cf\u30c7\u30fc\u30bf\u306e\u5909\u63db\u306b\u5e83\u304f\u4f7f\u308f\u308c\u3066\u304a\u308a\u3001\u4f8b\u3048\u3070\u30e2\u30c7\u30eb\u306b\u9069\u3057\u305f\u30b5\u30a4\u30ba\u306b\u30ea\u30b5\u30a4\u30ba\u3057\u305f\u308a\u3001\u6b63\u898f\u5316\u3057\u305f\u308a\u3059\u308b\u305f\u3081\u306b\u5229\u7528\u3055\u308c\u307e\u3059\u3002transforms\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30c7\u30fc\u30bf\u306e\u54c1\u8cea\u3092\u5411\u4e0a\u3055\u305b\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u30e2\u30c7\u30eb\u306e\u7cbe\u5ea6\u3092\u4e0a\u3052\u308b\u305f\u3081\u306b\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3059\u3002<\/p>\n\n<h2>Transforms\u306e\u5f79\u5272<\/h2>\n<b>1. \u30c7\u30fc\u30bf\u306e\u524d\u51e6\u7406<\/b>\r\n<p>\u30c7\u30fc\u30bf\u306e\u524d\u51e6\u7406\u306f\u3001\u30e2\u30c7\u30eb\u306b\u5165\u529b\u3059\u308b\u524d\u306b\u753b\u50cf\u30c7\u30fc\u30bf\u3092\u6574\u5f62\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u3067\u3059\u3002\u5177\u4f53\u7684\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u51e6\u7406\u304c\u884c\u308f\u308c\u307e\u3059\uff1a<\/p>\r\n<ul>\r\n\t<li><strong>\u30b5\u30a4\u30ba\u5909\u66f4<\/strong>\uff1a\u5165\u529b\u753b\u50cf\u306e\u89e3\u50cf\u5ea6\u3092\u5909\u66f4\u3057\u3001\u30e2\u30c7\u30eb\u304c\u51e6\u7406\u3057\u3084\u3059\u3044\u30b5\u30a4\u30ba\u306b\u5909\u63db\u3057\u307e\u3059\u3002<\/li>\r\n\t<li><strong>\u6b63\u898f\u5316<\/strong>\uff1a\u30d4\u30af\u30bb\u30eb\u306e\u5024\u3092\u7279\u5b9a\u306e\u7bc4\u56f2\u306b\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3059\u308b\u3053\u3068\u3067\u3001\u30e2\u30c7\u30eb\u306e\u5b66\u7fd2\u3092\u5b89\u5b9a\u3055\u305b\u307e\u3059\u3002<\/li>\r\n\t<li><strong>\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u5909\u63db<\/strong>\uff1a\u753b\u50cf\u3092\u30c6\u30f3\u30bd\u30eb\u306b\u5909\u63db\u3057\u3001\u30e2\u30c7\u30eb\u306b\u6e21\u305b\u308b\u5f62\u5f0f\u306b\u6574\u3048\u307e\u3059\u3002<\/li>\r\n<\/ul>\r\n<b>2. \u30c7\u30fc\u30bf\u62e1\u5f35<\/b>\r\n<p>\u30c7\u30fc\u30bf\u62e1\u5f35\u306f\u3001\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30c7\u30fc\u30bf\u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3092\u5897\u3084\u3059\u305f\u3081\u306b\u884c\u308f\u308c\u308b\u6280\u8853\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30e2\u30c7\u30eb\u304c\u3088\u308a\u4e00\u822c\u5316\u3057\u3084\u3059\u304f\u306a\u308a\u3001\u904e\u5b66\u7fd2\uff08\u7279\u5b9a\u306e\u30c7\u30fc\u30bf\u306b\u904e\u5ea6\u306b\u4f9d\u5b58\u3059\u308b\u3053\u3068\uff09\u3092\u9632\u3050\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u5177\u4f53\u7684\u306a\u30c7\u30fc\u30bf\u62e1\u5f35\u306e\u4f8b\u3068\u3057\u3066\u3001\u4ee5\u4e0b\u304c\u6319\u3052\u3089\u308c\u307e\u3059\uff1a<\/p>\r\n<ul>\r\n\t<li><strong>\u30e9\u30f3\u30c0\u30e0\u306a\u30af\u30ed\u30c3\u30d4\u30f3\u30b0<\/strong>\uff1a\u753b\u50cf\u306e\u4e00\u90e8\u3092\u30e9\u30f3\u30c0\u30e0\u306b\u5207\u308a\u53d6\u308b\u3053\u3068\u3067\u3001\u7570\u306a\u308b\u8996\u70b9\u304b\u3089\u753b\u50cf\u3092\u51e6\u7406\u3059\u308b\u80fd\u529b\u3092\u30e2\u30c7\u30eb\u306b\u4e0e\u3048\u307e\u3059\u3002<\/li>\r\n\t<li><strong>\u6c34\u5e73\u53cd\u8ee2<\/strong>\uff1a\u753b\u50cf\u3092\u6c34\u5e73\u65b9\u5411\u306b\u53cd\u8ee2\u3055\u305b\u308b\u3053\u3068\u3067\u3001\u5de6\u53f3\u5bfe\u79f0\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u5b66\u7fd2\u3055\u305b\u307e\u3059\u3002<\/li>\r\n\t<li><strong>\u56de\u8ee2<\/strong>\uff1a\u753b\u50cf\u3092\u30e9\u30f3\u30c0\u30e0\u306a\u89d2\u5ea6\u3067\u56de\u8ee2\u3055\u305b\u308b\u3053\u3068\u3067\u3001\u56de\u8ee2\u306b\u5bfe\u3059\u308b\u30e2\u30c7\u30eb\u306e\u30ed\u30d0\u30b9\u30c8\u6027\u3092\u5411\u4e0a\u3055\u305b\u307e\u3059\u3002<\/li>\r\n<\/ul>\r\n<p><!-- notionvc: eeb75278-551c-4af2-9d75-e8aa9c4f9e9d --><\/p>\n\n<h2>Transforms\u306e\u30e1\u30ea\u30c3\u30c8\u30fb\u30c7\u30e1\u30ea\u30c3\u30c8<\/h2>\n<b>\u30e1\u30ea\u30c3\u30c8<\/b>\r\n<ul>\r\n\t<li><strong>\u67d4\u8edf\u6027<\/strong>: transforms\u3092\u4f7f\u3048\u3070\u3001\u7570\u306a\u308b\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3084\u7528\u9014\u306b\u5408\u308f\u305b\u3066\u7c21\u5358\u306b\u524d\u51e6\u7406\u306e\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3092\u7d44\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30c7\u30fc\u30bf\u306e\u30b5\u30a4\u30ba\u5909\u66f4\u3001\u6b63\u898f\u5316\u3001\u30c7\u30fc\u30bf\u62e1\u5f35\u306a\u3069\u3092\u4e00\u9023\u306e\u64cd\u4f5c\u3068\u3057\u3066\u307e\u3068\u3081\u3066\u5b9f\u884c\u3067\u304d\u308b\u306e\u306f\u975e\u5e38\u306b\u4fbf\u5229\u3067\u3059\u3002<\/li>\r\n\t<li><strong>\u518d\u5229\u7528\u6027<\/strong>: \u4e00\u5ea6\u8a2d\u5b9a\u3057\u305ftransforms\u306f\u3001\u7570\u306a\u308b\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3084\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u306b\u7c21\u5358\u306b\u9069\u7528\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u753b\u50cf\u5206\u985e\u3001\u7269\u4f53\u691c\u51fa\u3001\u30bb\u30b0\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u306a\u3069\u7570\u306a\u308b\u30bf\u30b9\u30af\u3067\u540c\u3058\u524d\u51e6\u7406\u3092\u518d\u5229\u7528\u3067\u304d\u308b\u305f\u3081\u3001\u6642\u9593\u3068\u52b4\u529b\u3092\u7bc0\u7d04\u3067\u304d\u307e\u3059\u3002<\/li>\r\n\t<li><strong>\u52b9\u7387\u6027<\/strong>: transforms\u3092\u4f7f\u7528\u3057\u3066\u30d0\u30c3\u30c1\u51e6\u7406\u3092\u884c\u3046\u3053\u3068\u3067\u3001\u30c7\u30fc\u30bf\u306e\u524d\u51e6\u7406\u3092GPU\u4e0a\u3067\u52b9\u7387\u7684\u306b\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u51e6\u7406\u3059\u308b\u5834\u5408\u3067\u3082\u3001\u51e6\u7406\u304c\u30b9\u30e0\u30fc\u30ba\u306b\u9032\u3080\u305f\u3081\u3001\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u6642\u9593\u306e\u77ed\u7e2e\u306b\u7e4b\u304c\u308a\u307e\u3059\u3002<\/li>\r\n<\/ul>\r\n<b>\u30c7\u30e1\u30ea\u30c3\u30c8<\/b>\r\n<ul>\r\n\t<li><strong>\u904e\u5ea6\u306a\u5909\u63db\u306e\u30ea\u30b9\u30af<\/strong>: \u30c7\u30fc\u30bf\u62e1\u5f35\u3084\u524d\u51e6\u7406\u304c\u904e\u5ea6\u3067\u3042\u308b\u3068\u3001\u30e2\u30c7\u30eb\u304c\u5b9f\u969b\u306e\u30c7\u30fc\u30bf\u3068\u306f\u7570\u306a\u308b\u30d1\u30bf\u30fc\u30f3\u3092\u5b66\u7fd2\u3057\u3059\u304e\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u904e\u5ea6\u306a\u56de\u8ee2\u3084\u5927\u304d\u3059\u304e\u308b\u30af\u30ed\u30c3\u30d7\u306f\u3001\u753b\u50cf\u306e\u672c\u6765\u306e\u610f\u5473\u3092\u640d\u306a\u3046\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\r\n\t<li><strong>\u8a08\u7b97\u30ea\u30bd\u30fc\u30b9\u306e\u6d88\u8cbb<\/strong>: \u8907\u96d1\u306a\u5909\u63db\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u884c\u3046\u5834\u5408\u3001\u7279\u306b\u5927\u898f\u6a21\u306a\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u5bfe\u3057\u3066\u306f\u3001\u8a08\u7b97\u30ea\u30bd\u30fc\u30b9\u3092\u591a\u304f\u6d88\u8cbb\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002GPU\u3084CPU\u306e\u8ca0\u8377\u304c\u9ad8\u304f\u306a\u308a\u3001\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u6642\u9593\u304c\u9577\u304f\u306a\u308b\u3053\u3068\u3082\u8003\u616e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\r\n<\/ul>\r\n<p><!-- notionvc: 42c956b5-6d43-4c32-8bbd-4f2d8ca9ec45 --><\/p>\n\n<h2>Transforms\u306e\u5b9f\u88c5\u65b9\u6cd5<\/h2>\n<p>\u307e\u305a\u306f\u3001torchvision\u304b\u3089datasets\uff08\u4eca\u56de\u4f7f\u3046\u30c7\u30fc\u30bf\uff09\u3068transforms\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>from torchvision import datasets,transforms<\/code><\/pre>\r\n<\/div>\r\n<p>\u6b21\u306b\u3001\u30c7\u30fc\u30bf\u306e\u524d\u51e6\u7406\u3084\u30c7\u30fc\u30bf\u62e1\u5f35\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u753b\u50cf\u306e\u30ea\u30b5\u30a4\u30ba\u3001\u30c6\u30f3\u30bd\u30eb\u3078\u306e\u5909\u63db\u3001\u305d\u3057\u3066\u6b63\u898f\u5316\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\r\n<p>transforms.Compose\u306f\u8907\u6570\u306etransform\u3092\u7d50\u5408\u3057\u3066\u4e00\u3064\u306etransform\u306b\u3057\u307e\u3059\u3002transforms.Compose\u306e\u51e6\u7406\u306f\u30ea\u30b9\u30c8\u5185\u306e\u9806\u306b\u9069\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>transform = transforms.Compose([\r\ntransforms.Resize((256,256)), #\u753b\u50cf\u3092256\u00d7256\u306b\u30ea\u30b5\u30a4\u30ba\r\ntransforms.ToTensor(), #\u753b\u50cf\u3092Tensor\u306b\u5909\u63db\r\ntransforms.Normalize(mean=[0.5,0.5,0.5],std=[0.5,0.5,0.5]) #\u6b63\u898f\u5316<\/code><\/pre>\r\n<\/div>\r\n<p>\u4f5c\u6210\u3057\u305ftransforms\u3092datasets.MNIST\u306b\u9069\u7528\u3057\u307e\u3059\u3002<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>train_dataset = datasets.MNIST(root='.\/data', train=True, transform=transform, download=True)\r\ntest_dataset = datasets.MNIST(root='.\/data', train=False, transform=transform, download=True)<\/code><\/pre>\r\n<\/div>\n\n<h2>Transforms\u306e\u305d\u306e\u4ed6\u306e\u30c7\u30fc\u30bf\u62e1\u5f35\u6a5f\u80fd<\/h2>\n<p>transforms\u306f\u4e0a\u8a18\u306e\u4f8b\u4ee5\u5916\u306b\u3082\u3001\u69d8\u3005\u306a\u30c7\u30fc\u30bf\u62e1\u5f35\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n<p>\u4ee5\u4e0b\u306b\u3044\u304f\u3064\u304b\u306e\u5909\u63db\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\r\n<ol>\r\n\t<li><strong>\u753b\u50cf\u306e\u53cd\u8ee2<\/strong><\/li>\r\n<\/ol>\r\n<p>\u753b\u50cf\u3092\u30e9\u30f3\u30c0\u30e0\u306b\u6c34\u5e73\u65b9\u5411\u306b\u53cd\u8ee2\u3059\u308b\u5909\u63db\u3067\u3059\u3002p=0.5\u306f50%\u306e\u78ba\u7acb\u3067\u753b\u50cf\u3092\u53cd\u8ee2\u3059\u308b\u3053\u3068\u3092\u8868\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>transforms.RandomHorizontalFlip(p=0.5)<\/code><\/pre>\r\n<\/div>\r\n<p><strong>2. \u753b\u50cf\u306e\u56de\u8ee2<\/strong><\/p>\r\n<p>\u753b\u50cf\u3092\u6307\u5b9a\u3057\u305f\u7bc4\u56f2\u5185\u3067\u30e9\u30f3\u30c0\u30e0\u306b\u56de\u8ee2\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001-10\u5ea6\u304b\u3089+10\u5ea6\u306e\u7bc4\u56f2\u3067\u30e9\u30f3\u30c0\u30e0\u306b\u56de\u8ee2\u3055\u305b\u307e\u3059\u3002<\/p>\r\n<p><!-- notionvc: 580bbebf-9d69-489c-9ca7-85cf7b4e9f3a --><\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>transforms.RandomRotation(degrees=10)# -10\u5ea6\u304b\u3089+10\u5ea6\u306e\u7bc4\u56f2\u3067\u30e9\u30f3\u30c0\u30e0\u306b\u56de\u8ee2<\/code><\/pre>\r\n<\/div>\r\n<p><strong>3. \u753b\u50cf\u306e\u8272\u5909\u63db<\/strong><\/p>\r\n<p>\u660e\u308b\u3055(<code>brightness<\/code>)\u3001\u30b3\u30f3\u30c8\u30e9\u30b9\u30c8(<code>contrast<\/code>)\u3001\u5f69\u5ea6(<code>saturation<\/code>)\u3001\u8272\u76f8(<code>hue<\/code>)\u3092\u30e9\u30f3\u30c0\u30e0\u306b\u5909\u5316\u3055\u305b\u307e\u3059\u3002<\/p>\r\n<p><!-- notionvc: 8d4a8e40-00d4-47cb-9990-3649de3aa75f --><\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>transforms.ColorJitter(brightness=0.2, contrast=0.2, saturation=0.2, hue=0.1)\r\n<\/code><\/pre>\r\n<\/div>\r\n<p><strong>4. \u753b\u50cf\u306e\u30af\u30ed\u30c3\u30d7\u3068\u30e9\u30f3\u30c0\u30e0\u30ea\u30b5\u30a4\u30ba<\/strong><\/p>\r\n<p>\u753b\u50cf\u3092\u30e9\u30f3\u30c0\u30e0\u306b\u30af\u30ed\u30c3\u30d7\u3057\u3001\u6307\u5b9a\u3055\u308c\u305f\u30b5\u30a4\u30ba\uff08\u4e0a\u8a18\u306e\u5834\u5408\u306f224\u00d7224\uff09\u306b\u30ea\u30b5\u30a4\u30ba\u3057\u307e\u3059\u3002<\/p>\r\n<p><!-- notionvc: 58273d3f-9b1f-4b70-97fc-44eb7f259624 --><\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>transforms.RandomResizedCrop(size=224, scale=(0.08, 1.0))<\/code><\/pre>\r\n<\/div>\r\n<p><!-- notionvc: 4c171c3d-1fb3-410e-8a80-81958d741a7c --><\/p>\n\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>\u4eca\u56de\u306f\u3001PyTorch\u306etransforms\u306b\u3064\u3044\u3066\u3001\u57fa\u672c\u7684\u306a\u6982\u8981\u304b\u3089\u5b9f\u88c5\u65b9\u6cd5\u3001\u3055\u3089\u306b\u69d8\u3005\u306a\u30c7\u30fc\u30bf\u62e1\u5f35\u624b\u6cd5\u307e\u3067\u3092\u8aac\u660e\u3057\u307e\u3057\u305f\u3002\u30c7\u30fc\u30bf\u306e\u524d\u51e6\u7406\u3084\u30c7\u30fc\u30bf\u62e1\u5f35\u306f\u3001\u30e2\u30c7\u30eb\u306e\u6027\u80fd\u306b\u5927\u304d\u306a\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u91cd\u8981\u306a\u30d7\u30ed\u30bb\u30b9\u3067\u3059\u3002\u3053\u308c\u3089\u306e\u624b\u6cd5\u3092\u6d3b\u7528\u3057\u3066\u3001\u3088\u308a\u9ad8\u54c1\u8cea\u306a\u30e2\u30c7\u30eb\u3092\u4f5c\u6210\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>Transforms\u306f\u3001\u753b\u50cf\u5206\u985e\u306b\u304a\u3044\u3066\u306a\u305c\u91cd\u8981\u306a\u306e\u304b\uff1f\u305d\u306e\u5f79\u5272\u3068\u52b9\u679c\u7684\u306a\u6d3b\u7528\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059 \u306f\u3058\u3081\u306b \u4eca\u56de\u306f\u3001PyTorch\u306etransforms\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001transforms\u306e\u6982\u8981\u304b\u3089\u3001\u5b9f [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":5692,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","swell_btn_cv_data":"","footnotes":"","_wp_rev_ctl_limit":""},"categories":[1249],"tags":[331,630,755,419,573],"class_list":["post-5691","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge","tag-python","tag-pytorch","tag-transforms","tag-419","tag-573"],"_links":{"self":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/5691","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/comments?post=5691"}],"version-history":[{"count":0,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/5691\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media\/5692"}],"wp:attachment":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media?parent=5691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/categories?post=5691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/tags?post=5691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}