Skip to content

DakshKK/vessel_trajectory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Vessel Trajectory Prediction

This is a demo of the vessel trajectory prediction and the unofficial and simple implementation of the papers listed below.

The overview

We use human-made AIS data (only 2-dimension data including longitude and latitude) to train the model. The trajectory is illustrated in the following picture. It has 400 points and the first 300 points are regarded as training data, the next 60 points are regarded as validation data. The remaining 40 points are known as testing data.

avatar

You also can build your custom AIS data with speed, orientation and so on here to predict your vessel trajectory.

The network

As usual, we use the sequence-to-sequence model. The first step is to send the previous L steps of observation into LSTM to encoder the feature. Then in the decoder step, the feature through LSTM can predict the next h steps of vessel trajectory.

Here we set L to 20, h to 1. You could change the value in the run.py easily. We use the adam optimizer and set the epochs to 100.

avatar

The experiment

  • The training process of our model. We see that the loss of train and valid is decreasing.

avatar

  • The vessel trajectory prediction of train, valid and test corresponds to the true trajectory qualitatively.

avatar

If we have lots of AIS data to train the sequence-to-sequence model, we will get a better prediction.

About

Vessel Trajectory Implementation. Modified version of https://github.com/whubaichuan/Vessel_Trajectory_Prediction.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages