为什么我的在命令行输入python3 main.py --mode=train --data_path=./data/train.bin --vocab_path=./data/vocab --log_root=./log --pretrain_dis_data_path=./data/discriminator_train_data.npz --restore_best_model=False
报错直接抛出异常“ sys.exit(main(argv))
File "main.py", line 218, in main
raise ValueError("The 'mode' flag must be one of pretrain/train/decode")
ValueError: The 'mode' flag must be one of pretrain/train/decode”
为什么我的在命令行输入python3 main.py --mode=train --data_path=./data/train.bin --vocab_path=./data/vocab --log_root=./log --pretrain_dis_data_path=./data/discriminator_train_data.npz --restore_best_model=False 报错直接抛出异常“ sys.exit(main(argv)) File "main.py", line 218, in main raise ValueError("The 'mode' flag must be one of pretrain/train/decode") ValueError: The 'mode' flag must be one of pretrain/train/decode”