BIGBALLON/CIFAR-ZOO

load() missing 1 required positional argument

zzh132 opened this issue · 1 comments

def main():
global args, config, last_epoch, best_prec, writer
writer = SummaryWriter(log_dir=args.work_path + "/event")

# read config from yaml file
with open(args.work_path + "/config.yaml") as f:
    config = yaml.load(f)

line 168 in train.py, load() missing 1 required positional argument: 'Loader'

with open(args.work_path + "/config.yaml") as f:
    config = yaml.load(f, Loader=yaml.Loader)