質問編集履歴
4
タグの追加
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
3
誤り imprt torch 正 import torch
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
import os
|
14
14
|
|
15
|
-
imprt torch
|
15
|
+
import torch
|
16
16
|
|
17
17
|
import torchvision
|
18
18
|
|
2
ソースコードに import os の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -9,6 +9,8 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
```PyTorch
|
12
|
+
|
13
|
+
import os
|
12
14
|
|
13
15
|
imprt torch
|
14
16
|
|
1
質問文の訂正
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
torchvision.transforms.functional.rotate は使い方が違うので、Composeの中で処理できませんでした。
|
4
4
|
|
5
|
-
torchvision.transforms.RandomRotationのようなメソッドで、角度を指定できればよいのです
|
5
|
+
torchvision.transforms.RandomRotationのようなメソッドで、角度を指定できればよいのですが・・・。
|
6
6
|
|
7
7
|
以下やろうとしているコードです
|
8
8
|
|