-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.py
10 lines (10 loc) · 745 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
import argparse
parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument('--path',type=str,default='', help='where you store your HSI data file')
parser.add_argument('--save_path',type=str,default='', help='where you store your HSI data file')
parser.add_argument('--sf',type=int,default=32, help='scale_factor, set to 8, 16, and 32 in our experiment')
parser.add_argument('--d',type=int, default=2,help='search scale')
parser.add_argument("--beta", type=float, default=1e-4,help='regularization parameter beta 𝛽')
parser.add_argument("--gamma", type=float, default=1e-6,help='plenty parameter beta γ ')
parser.add_argument("-f","--file",default="file")
args=parser.parse_args()