質問編集履歴

2

ミス修正後

2020/08/08 12:10

投稿

pickle
pickle

スコア16

title CHANGED
File without changes
body CHANGED
@@ -24,14 +24,6 @@
24
24
  To view examples of installing some common dependencies, click the
25
25
  "Open Examples" button below.
26
26
  ---------------------------------------------------------------------------
27
-
28
- ---------------------------------------------------------------------------
29
- NOTE: If your import is failing due to a missing package, you can
30
- manually install dependencies using either !pip or !apt.
31
-
32
- To view examples of installing some common dependencies, click the
33
- "Open Examples" button below.
34
- ---------------------------------------------------------------------------
35
27
  ```
36
28
 
37
29
  albumentationsは大元のgithubでver0.4.5では少なくともRandomResizedCropが存在していることを確認しており(https://github.com/albumentations-team/albumentations)、上記codeはcolab上でalbumentationsのverを以下の通りここに揃えたのちに実行しています。。

1

ミス修正後

2020/08/08 12:10

投稿

pickle
pickle

スコア16

title CHANGED
File without changes
body CHANGED
@@ -12,10 +12,10 @@
12
12
  ## 以下error内容
13
13
  ---------------------------------------------------------------------------
14
14
  ImportError Traceback (most recent call last)
15
- <ipython-input-65-624b4e9be095> in <module>()
15
+ <ipython-input-66-33be627ece39> in <module>()
16
- ----> 1 from albumentations import ToTensorV2
16
+ ----> 1 from albumentations import RandomResizedCrop
17
17
 
18
- ImportError: cannot import name 'ToTensorV2'
18
+ ImportError: cannot import name 'RandomResizedCrop'
19
19
 
20
20
  ---------------------------------------------------------------------------
21
21
  NOTE: If your import is failing due to a missing package, you can
@@ -24,6 +24,14 @@
24
24
  To view examples of installing some common dependencies, click the
25
25
  "Open Examples" button below.
26
26
  ---------------------------------------------------------------------------
27
+
28
+ ---------------------------------------------------------------------------
29
+ NOTE: If your import is failing due to a missing package, you can
30
+ manually install dependencies using either !pip or !apt.
31
+
32
+ To view examples of installing some common dependencies, click the
33
+ "Open Examples" button below.
34
+ ---------------------------------------------------------------------------
27
35
  ```
28
36
 
29
37
  albumentationsは大元のgithubでver0.4.5では少なくともRandomResizedCropが存在していることを確認しており(https://github.com/albumentations-team/albumentations)、上記codeはcolab上でalbumentationsのverを以下の通りここに揃えたのちに実行しています。。