Skip to content

Crystal-LiuBojia/CDCGAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

CDCGAN

Requirements

This repository has been tested with the following packages:

  • Python == 3.7.13
  • PyTorch == 1.12.1
  • Pytorch Geometric == 2.3.1

Important Hyper-parameters

  • --dataset: name of the dataset. It could be one of ['cora', 'citeseer','pubmed', 'wiki-cs'].
  • im_ratio: imbalance ratio.
  • model: name of the backbone encoder. It could be one of ['sage', 'gcn', 'gat'].
  • mode: the generation way of new edges.
  • threshold: the threshold of edge generation.

How to run

For example: python gan.py --dataset cora --im_ratio 0.5 --model gcn --threshold 0.6

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages