look at parameters below. They really became bool, i find this bug while debugging it.
'''
if name == 'main':
parser = argparse.ArgumentParser()
parser.add_argument("action", help="train|eval|predict|tensorize|preprocess", type=str)
...
parser.add_argument("--updates", help="number of training updates to perform", default=default_config.updates, type=bool)
parser.add_argument("--period", help="validation period in updates", default=default_config.period, type=bool)
parser.add_argument("--lr", help="learning rate", default=default_config.lr, type=bool)
parser.add_argument("--dab-rate", help="drop at boundaries rate", default=default_config.dab_rate, type=bool)
config = Config(**parser.parse_args().dict)
look at parameters below. They really became bool, i find this bug while debugging it. ''' if name == 'main': parser = argparse.ArgumentParser() parser.add_argument("action", help="train|eval|predict|tensorize|preprocess", type=str) ... parser.add_argument("--updates", help="number of training updates to perform", default=default_config.updates, type=bool) parser.add_argument("--period", help="validation period in updates", default=default_config.period, type=bool) parser.add_argument("--lr", help="learning rate", default=default_config.lr, type=bool) parser.add_argument("--dab-rate", help="drop at boundaries rate", default=default_config.dab_rate, type=bool) config = Config(**parser.parse_args().dict)
'''