-
Install CUDA and nvcc compiler
-
Download GCN from https://github.com/jdjd1114/GCN
bash
git clone https://github.com/jdjd1114/GCN.gitbash
cd path_to_GCN/ -
Compile (Note that MATLAB path in Makefile may need to be modified.)
bash
make -
run the program
bash
./bin/gcn data/DATASET.mat device_id
DATASET.mat consists of three parts:
* Dataset, a 3-dimensional hyperspectal image
* labels, a 2-dimensional label matrix
* Device ID -
run GCN_version_2.0 ( Multiple GPUs verison )
modify SRC in Makefile (src/hyper_version_mGPU.cu)
recompile with Makefilebash
makebash
./bin/gcn data/DATASET.mat device_num master_dev_id