-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy patharguments.py
17 lines (14 loc) · 1 KB
/
arguments.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import argparse
def arg_parse():
parser = argparse.ArgumentParser(description='GcnInformax Arguments.')
parser.add_argument('--DS', dest='DS', help='Dataset')
parser.add_argument('--local', dest='local', action='store_const', const=True, default=False)
parser.add_argument('--glob', dest='glob', action='store_const', const=True, default=False)
parser.add_argument('--prior', dest='prior', action='store_const', const=True, default=False)
parser.add_argument('--lr', dest='lr', type=float, help='Learning rate.')
parser.add_argument('--num-gc-layers', dest='num_gc_layers', type=int, default=5, help='Number of graph convolution layers before each pooling')
parser.add_argument('--hidden-dim', dest='hidden_dim', type=int, default=32, help='')
parser.add_argument('--reward', dest='reward', default=1.9, type=float, help='reward parameter')
parser.add_argument('--aug', type=str, default='dnodes')
parser.add_argument('--seed', type=int, default=0)
return parser.parse_args()