Skip to content

CIKM2024 Physics-guided Active Sample Reweighting for Urban Flow Prediction

Notifications You must be signed in to change notification settings

WeiJiang01/P-GASR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P-GASR: Physics-guided Active Sample Reweighting for Urban Flow Prediction

This repository is the implementation of CIKM'24 paper: Physics-guided Active Sample Reweighting for Urban Flow Prediction

SNS

Requirements

The proposed method is implemented in Python 3.9 with Pytorch 1.11.0 (Cuda:11.3).

To install requirements:

pip install -r requirements.txt

Data

Due to size limitations, we only provide NYCBike1, NYCBike2 and NYCTaxi datasets in this repository. For BJTaxi dataset, please download from Google Drive (provided by the authors of STSSL)

Model Training

Run main.py to train the model.

If you want to train the model from scratch, run pretrain.py to pretrain for obtaining sample weights before running main.py.

Please make sure the enviornment setting is correct for reproducing the result.

About

CIKM2024 Physics-guided Active Sample Reweighting for Urban Flow Prediction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages