百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
H

HGCN

> 编程语言
开源

HGCN 为交通预测的 AAAI2021 论文代码

100 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

HGCN 为交通预测的 AAAI2021 论文代码

HGCN

Updata 1:

2022/7/18 Please Emails:[email protected] to contact me; 邮箱地址以更换为:[email protected]。

Update:

2021/5/11 14:58 The original data, road GPS Coordinate, and code of Generate Data have updated in the Dataset by Baidu Cloud. 原始的数据,具体的路段起始节点GPS坐标(百度坐标参考系)和生成数据和邻接矩阵的代码已经在数据中更新,直接重新访问分享的百度网盘连接,即可下载食用 (.V.)。。。。。。

分割线_________________________________________________________分割线

The code of AAAI2021 paper of HGCN for Traffic Forecasting

This is a document for this code++++++++++++++++++++++++++++++++++++++++++++++++++++++++=>

***First, the structure of the code:

util.py: The reading of data and other functions except of Model

utils.py: all base blocks and functions of neural network models in our paper

model.py: construct model based on utils.py

engine.py: the program of training model in our paper

train.py: compared models which doesn't deal with Region data

train_h.py: HGCN and HGCN_wdf

***How to run these files?

In jupyter ,you should write:

run train.py --model (you can select, such as gwnet) --force True

or

run train_h.py --model (you can select, such as H_GCN) --force True

If you want to change the dataset from XiAn_city to JiNan_city, I suggest you can directly revise the code in your IDE in train.py or train_h.py

***The dataset problem:

Attention:

Because the DiDi company's data pact, we cannot publish the original or other data, So if you want to get data, you should first apply data in https://outreach.didichuxing.com/app-vue/TTI?id=1003, and eamil me, we get your this paper's data by Baidu Cloud website and key.

由于滴滴公司的协议,我们不能直接公开数据,所以,如果想使用数据,需要先在上面的网站申请,得到许可后,您可以选择使用原始数据(比较乱,定位不准,所以我们重新定位了道路起始点,构建了路网的邻接矩阵),或者联系我,我直接给您论文中使用的已经清洗好的格式化数据。

Please leave a message in the issue area with English or Chinese. You can also email me!

***The each epoch's save Pytorch model (stat_dict) file in the following website, if you are interested in each epoch's details in our model training phase, please get the authority of data in above website. and we give your key in email.

每一个模型的训练epoch 的参数已经加密上传到百度网盘,如您需要,在得到数据许可后,我们提供密码。 weibsite:链接:https://pan.baidu.com/s/1kYNF4EOYwI2EF2c5xuTxQw 提取码:_____.

Issues· 5 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Python

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言