问题遇到的现象和发生背景
从GITHUB下载了一个可以生成中文文本的项目:https://github.com/Morizeyao/GPT2-Chinese来学习,前几天一直在研究代码,今天想试试生成文本来着,但是报错了。
我在终端输入的代码与报错:
1 python ./generate.py --length=400 --nsamples=4 --prefix=在遥远的未来 --fast_pattern --save_samples --save_samples_path=/mnt/samples.txt
python: can't open file './generate.py': [Errno 2] No such file or directory
2 python .F:/GTP/GPT-Chinese/GPT2-Chinese-old_gpt_2_chinese_before_2021_4_22/generate.py --length=400 --nsamples=4 --prefix=在遥远的未来 --fast_pattern --save_samples --save_samples_path=/mnt/samples.txt
python: can't open file '.F:/GTP/GPT-Chinese/GPT2-Chinese-old_gpt_2_chinese_before_2021_4_22/generate.py': [Errno 22] Invalid argument
3 python .F:/GTP/GPT-Chinese/GPT2-Chinese-old_gpt_2_chinese_before_2021_4_22/generate.py --length=400 --nsamples=4 --prefix=在遥远的未来 --fast_pattern --save_samples --save_samples_path=/mnt/samples.txt
python: can't open file '.F:/GTP/GPT-Chinese/GPT2-Chinese-old_gpt_2_chinese_before_2021_4_22/generate.py': [Errno 22] Invalid argument
4 python .r'F:/GTP/GPT-Chinese/GPT2-Chinese-old_gpt_2_chinese_before_2021_4_22/generate.py' --length=400 --nsamples=4 --prefix=在遥远的未来 --fast_pattern --save_samples --save_samples_path=/mnt/samples.txt
python: can't open file '.r'F:/GTP/GPT-Chinese/GPT2-Chinese-old_gpt_2_chinese_before_2021_4_22/generate.py'': [Errno 22] Invalid argument
5 python .F//GTP/GPT-Chinese/GPT2-Chinese-old_gpt_2_chinese_before_2021_4_22/generate.py --length=400 --nsamples=4 --prefix=在遥远的未来 --fast_pattern --save_samples --save_samples_path=/mnt/samples.txt
python: can't open file '.F//GTP/GPT-Chinese/GPT2-Chinese-old_gpt_2_chinese_before_2021_4_22/generate.py': [Errno 2] No such file or directory
望各位有识之士不吝赐教