mlx-examples/gcn
Awni Hannun f45a1ab83c
Update a few examples to use compile (#420)
* update a few examples to use compile

* update mnist

* add compile to vae and rename some stuff for simplicity

* update reqs

* use state in eval

* GCN example with RNG + dropout

* add a bit of prefetching
2024-02-08 13:00:41 -08:00
..
.gitignore fix comments before merge 2023-12-11 23:10:46 +01:00
datasets.py Add llms subdir + update README (#145) 2023-12-20 10:22:25 -08:00
gcn.py add GCN implementation 2023-12-11 17:48:07 +01:00
main.py Update a few examples to use compile (#420) 2024-02-08 13:00:41 -08:00
README.md fix comments before merge 2023-12-11 23:10:46 +01:00
requirements.txt fix comments before merge 2023-12-11 23:10:46 +01:00

Graph Convolutional Network

An example of GCN implementation with MLX.

Install requirements

First, install the few dependencies with pip.

pip install -r requirements.txt

Run

To try the model, just run the main.py file. This will download the Cora dataset, run the training and testing.

python main.py