Home > other >  Deep learning implementation main. Py errors
Deep learning implementation main. Py errors

Time:09-25

https://blog.csdn.net/accepthjp/article/details/73875108
https://github.com/hjptriplebee/Chinese_poem_generator
To execute the LSTM neural network machine write poetry project but wrong, please help,

I've just started to learn online posts according to installation environment Windows, python3.6, TensorFlow1.8 - gpu,

To perform the main. Py error:
Traceback (the most recent call last) :
The File "is the main. Py", line 22, in
TrainData=https://bbs.csdn.net/topics/data.POEMS (trainPoems)
The File "D: \ study \ 1. Graduation design \ Chinese_poem_generator - master \ data py", line 17, in the init
For the line in the file: # every line is a poem
UnicodeDecodeError: 'GBK' codec can 't decode byte 0 xaa in position 2: illegal multibyte sequence

Delete poetrySong model in python main. Py - train but wrong
Usage: the main py [-h] [-m {train, test, head}]
The main. Py: error: unrecognized the arguments: - "train"
I feel like I don't know how to run, and don't know what to do, ask for help, thank you!

CodePudding user response:

Suggest change directory name in Chinese to English to say again first,

CodePudding user response:

reference 1/f, old coconut response:
suggest change directory name in Chinese to English to say again first,

Changed or the original error, how to do?

CodePudding user response:

Ruled out the problem directory, it may be a training set TXT file coding issues,

Suggest to find a case the entire download and run it again, to ensure that the relevant library running normally, if download case, also not normal operation, then to find the cause of the related library,

CodePudding user response:

reference old coconut reply: 3/f
ruled out the problem directory, it may be a training set TXT file coding issues,

Suggest to find a case the entire download and run it again, to ensure that the relevant library running normally, if download case, also not normal operation, then to find the cause of the related library,

I run is someone else's case, and then an error, the first line with links, asked the author didn't reply to me, I want to ask how to find the cause of the related library?

CodePudding user response:

reference old coconut reply: 3/f
ruled out the problem directory, it may be a training set TXT file coding issues,

Suggest to find a case the entire download and run it again, to ensure that the relevant library running normally, if download case, also not normal operation, then to find the cause of the related library,

Is indeed a coding problem, has been solved, thank you for your help

CodePudding user response:

Brothers you the usage: what the bracket make what meaning ah I also do class is not very good, there is the problem
  • Related