質問編集履歴
2
エラーメッセージの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -13,6 +13,22 @@
|
|
13
13
|
### 発生している問題・エラーメッセージ
|
14
14
|
|
15
15
|
```
|
16
|
+
Traceback (most recent call last):
|
17
|
+
File "(省略)/train.py", line 85, in <module>
|
18
|
+
optimizer = tf.keras.optimizers.Adam(learning_rate, beta_1=0.9, beta_2=0.98, epsilon=1e-9)
|
19
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
20
|
+
File "(省略)/miniconda3/envs/test/lib/python3.11/site-packages/keras/optimizers/adam.py", line 116, in __init__
|
21
|
+
self._learning_rate = self._build_learning_rate(learning_rate)
|
22
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
23
|
+
File "(省略)/miniconda3/envs/test/lib/python3.11/site-packages/keras/optimizers/optimizer.py", line 384, in _build_learning_rate
|
24
|
+
learning_rate(self.iterations)
|
25
|
+
File "(省略)/adam.py", line 17, in __call__
|
26
|
+
arg1 = tf.math.rsqrt(step)
|
27
|
+
^^^^^^^^^^^^^^^^^^^
|
28
|
+
File "(省略)/miniconda3/envs/test/lib/python3.11/site-packages/tensorflow/python/util/traceback_utils.py", line 153, in error_handler
|
29
|
+
raise e.with_traceback(filtered_tb) from None
|
30
|
+
File "(省略)/miniconda3/envs/test/lib/python3.11/site-packages/tensorflow/python/framework/ops.py", line 7262, in raise_from_not_ok_status
|
31
|
+
raise core._status_to_exception(e) from None # pylint: disable=protected-access
|
16
32
|
tensorflow.python.framework.errors_impl.InvalidArgumentError: Value for attr 'T' of int64 is not in the list of allowed values: bfloat16, half, float, double, complex64, complex128
|
17
33
|
; NodeDef: {{node Rsqrt}}; Op<name=Rsqrt; signature=x:T -> y:T; attr=T:type,allowed=[DT_BFLOAT16, DT_HALF, DT_FLOAT, DT_DOUBLE, DT_COMPLEX64, DT_COMPLEX128]> [Op:Rsqrt] name:
|
18
34
|
```
|
1
タグの追加
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|