iwangjian / textsum-gan

Tensorflow re-implementation of GAN for text summarization
134 stars 56 forks source link

你们的都可以运行吗? #20

Closed lipanpanpanpan closed 4 years ago

lipanpanpanpan commented 4 years ago

为什么我的在命令行输入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”