- Ubuntu OS
- Python 3.9.13 (tested)
- PyTorch 1.13.0 (tested)
- C++ 17
mkdir build
cd build
cmake ..
make -j 20
mkdir data/
First, download the trajectory dataset into data/{dataset_name}.
./build/dataset_preprocess_exec
This will convert the original trajectories.csv file of longitude and latitude coordinates into xy coordinates in a 2D plane. And then sample the dataset.
Generate the training dataset
./build/ml_dataset_generation_exec
Train the model
cd python_scripts/
python dataset_preparation.py
python train.py
cd ../
./build/main_exec