22.02.2024 Views

Daniel Voigt Godoy - Deep Learning with PyTorch Step-by-Step A Beginner’s Guide-leanpub

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 10.18 - Losses - PyTorch’s Transformer

Once again, the validation loss is significantly lower than the training loss. No

surprises here since it is roughly the same model.

Visualizing Predictions

Let’s plot the predicted coordinates and connect them using dashed lines, while

using solid lines to connect the actual coordinates, just like before.

Figure 10.19 - Predictions

Once again, looking good, right?

The PyTorch Transformer | 845

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!