Skip to content

Commit 4fd95c1

Browse files
committed
Clean up logs
1 parent 2158c91 commit 4fd95c1

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

examples/nlp/md/neural_machine_translation_with_transformer.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -552,25 +552,9 @@ transformer.fit(train_ds, epochs=epochs, validation_data=val_ds)
552552

553553

554554

555-
<div class="k-default-codeblock">
556-
```
557-
/root/keras-io/venv/lib/python3.10/site-packages/keras/src/layers/layer.py:932: UserWarning: Layer 'query' (of type EinsumDense) was passed an input with a mask attached to it. However, this layer does not support masking and will therefore destroy the mask information. Downstream layers will not see the mask.
558-
warnings.warn(
559-
/root/keras-io/venv/lib/python3.10/site-packages/keras/src/layers/layer.py:932: UserWarning: Layer 'key' (of type EinsumDense) was passed an input with a mask attached to it. However, this layer does not support masking and will therefore destroy the mask information. Downstream layers will not see the mask.
560-
warnings.warn(
561-
/root/keras-io/venv/lib/python3.10/site-packages/keras/src/layers/layer.py:932: UserWarning: Layer 'value' (of type EinsumDense) was passed an input with a mask attached to it. However, this layer does not support masking and will therefore destroy the mask information. Downstream layers will not see the mask.
562-
warnings.warn(
563-
564-
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
565-
```
566-
</div>
567-
568-
1302/1302 ━━━━━━━━━━━━━━━━━━━━ 57s 30ms/step - accuracy: 0.1042 - loss: 5.0703 - val_accuracy: 0.1926 - val_loss: 2.9115
569-
570555
<div class="k-default-codeblock">
571556
```
572557
<keras.src.callbacks.history.History at 0x7ffae0753a60>
573-
574558
```
575559
</div>
576560
---

0 commit comments

Comments
 (0)