Fixing deep learning Attention code

Job ID: 35064868

Budget: $30 – $250 USD

I attached the code, sample data, and project details.

The sample data is the tracking data of fishing boats.
I want to predict the position after 15 minutes through an input set (6 variables)of 1440 data, that is, 1440 minutes (= one day).
The target variables are longitude and latitude.

I want to build a deep learning model based on ‘Attention’.
I tried to build a GRU model. It was running well.

However, However, in the code with the Attention model, some errors occur.
Could you fix the errors?
Related categories: Python Neural Networks Deep Learning