The official PyTorch implementation of DeepTimeGeo: Trajectory Reconstruction from Sparse Data with Transformer.
- Data
- Download the Los Angeles dataset from here and move it to
DeepTimeGeo/data/los_angeles/
- Download the Los Angeles dataset from here and move it to
-
The model can be accssed at
python train_model.py -
Please find the output at
trained_models/.asset/parse.ipynbhas the starter code to convert the rank-based representation back to geospatial data. Withintrained_models/:data/contains the processed rank-based representation of the trajectories.training_set.pklcontains trajectories used in training.validation_set.pklcontains users whose trajectories have been procssed but not used in training.simulation/contains the completed trajectories. Userasset/parse.ipynbto convert the rank-based representation back to original.viz/contains basic visualizations of human moibility patterns in the sparse and the completed trajectories.
