質問編集履歴
4
Jupyter Notebookを使用していることを言及してなかった。
title
CHANGED
File without changes
|
body
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
`tf.config.experimental.set_memory_growth`や、`gpu_options.allow_growth = True`等を試しましたが、
|
3
3
|
どうしても大部分(3.7/4.0GB程度)が確保されてしまい、制限できません。
|
4
4
|
|
5
|
+
ちなみに、`Jupyter Notebook`を使用しています。
|
6
|
+
|
5
7
|
環境
|
6
8
|
- windows 10
|
7
9
|
- GPU : NVIDIA GeForce GTX 1650(専用メモリは4G)
|
3
誤記
title
CHANGED
File without changes
|
body
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
環境
|
6
6
|
- windows 10
|
7
|
-
- GPU : NVIDIA GeForce GTX 1650(専
|
7
|
+
- GPU : NVIDIA GeForce GTX 1650(専用メモリは4G)
|
8
8
|
- python 3.7.9 + TensorFlow-GPU 1.15.0 (python 3.6.12 + TensorFlow-GPU 2.0.0)
|
9
9
|
- Kerasはインストールしてない
|
10
10
|
|
2
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
- cuDNN 7.6.0
|
14
14
|
|
15
15
|
*********
|
16
|
-
### tensorflowのメモリ使用量を抑制するコード
|
16
|
+
### tensorflowのメモリ使用量を抑制するコード(エラーは出ず、正常に実行されます)
|
17
17
|
`tensorflow-gpu=2.0.0`の環境と、`tensorflow-gpu=1.15`の環境を、`Anaconda`で作成し、
|
18
18
|
それぞれ実行しましたが、どうしてもメモリを抑えられません。
|
19
19
|
```
|
1
誤記
title
CHANGED
File without changes
|
body
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
環境
|
6
6
|
- windows 10
|
7
|
-
- GPU : NVIDIA GeForce GTX 1650
|
7
|
+
- GPU : NVIDIA GeForce GTX 1650(専有メモリは4G)
|
8
|
-
- python 3.7.9 + TensorFlow-GPU 1.15.0 (python 3.
|
8
|
+
- python 3.7.9 + TensorFlow-GPU 1.15.0 (python 3.6.12 + TensorFlow-GPU 2.0.0)
|
9
9
|
- Kerasはインストールしてない
|
10
10
|
|
11
11
|
- Visual Studio Community 2017
|