项目文件夹

文件
Harsh Sinha 4bf70f0941 [Bugfix] issue #3527 (#3528)
* Fix issue 3527

* Changed default device

* Added g to device
2021-11-23 08:52:26 +08:00
..
2021-11-23 08:52:26 +08:00

Geometric Deep Learning models

This example shows how to use geometric deep learning models defined in dgl.nn.pytorch.conv for graph classification.

Currently we support following models:

Image Classification on MNIST

By transforming images to graphs, graph classifcation algorithms could be applied to image classification problems.

Usage

python mnist.py --model cheb --gpu 0
python mnist.py --model monet --gpu 0

Acknowledgement

We thank Xavier Bresson for providing code for graph coarsening algorithm and grid graph building in
CE7454_2019 Labs.