Download annotations/annotation_42/HTML/unsupervised_TU/arguments.py from mcy98/RECODE-H: direct link, hf CLI and curl.
- Browser
- Download file 1.33 kB
-
https://huggingface.co/datasets/mcy98/RECODE-H/resolve/main/annotations/annotation_42/HTML/unsupervised_TU/arguments.py
- Command line
-
hf download hf://datasets/mcy98/RECODE-H/annotations/annotation_42/HTML/unsupervised_TU/arguments.py
-
curl -L -o arguments.py https://huggingface.co/datasets/mcy98/RECODE-H/resolve/main/annotations/annotation_42/HTML/unsupervised_TU/arguments.py
1.33 kB
| 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('--aug', type=str, default='dnodes') | |
| parser.add_argument('--seed', type=int, default=0) | |
| parser.add_argument('--iso_logic', action='store_true') | |
| parser.add_argument('--a', type=int, default=0, help='the weight of iso loss.') | |
| parser.add_argument('--subiso_logic', action='store_true') | |
| parser.add_argument('--b', type=int, default=0, help='the weight of subiso loss.') | |
| return parser.parse_args() | |