parser.add_argument('--noise',dest='noise',action='store_true',default=False,help='Use the noise generator to generate and scale the noise')
parser.add_argument('--steps',type=int,default=[5,5,5,5,5],nargs='+',help='how many epochs( runs through the dataset) before termination')
parser.add_argument('--steps',type=int,default=[10000,10000,10000,10000,10000],nargs='+',help='how many epochs( runs through the dataset) before termination')
parser.add_argument('--l_reg',type=float,default=0.01,help='the lambda regulization of the diversity score loss if the noise generator is active')
...
...
@@ -63,6 +63,9 @@ def main():
mkdir(join(args.o,'model'))
ifnotisdir(join(args.o,'results')):
mkdir(join(args.o,'results'))
# print(args.batch_size);exit()
iflen(args.steps)!=5orlen(args.batch_size)!=5:
print("the number of steps and batch size must have a list of 5 containing integers");exit()