Conchylicultor / DeepQA

My tensorflow implementation of "A neural conversational model", a Deep learning based chatbot
Apache License 2.0
2.93k stars 1.17k forks source link

Permissions error with scotus #102

Open drophit opened 7 years ago

drophit commented 7 years ago

D:\drophit\Documents\TensorFlowChatBots\3.5PythonTensor1.0-DeepQABot>python main.py --corpus=scotus --modelTag=scotus Welcome to DeepQA v0.1 !

TensorFlow detected: v1.1.0 Training samples not found. Creating dataset... Constructing full dataset... Traceback (most recent call last): File "main.py", line 29, in chatbot.main() File "D:\drophit\Documents\TensorFlowChatBots\3.5PythonTensor1.0-DeepQABot\chatbot\chatbot.py", line 158, in main self.textData = TextData(self.args) File "D:\drophit\Documents\TensorFlowChatBots\3.5PythonTensor1.0-DeepQABot\chatbot\textdata.py", line 97, in init self.loadCorpus() File "D:\drophit\Documents\TensorFlowChatBots\3.5PythonTensor1.0-DeepQABot\chatbot\textdata.py", line 260, in loadCorpus corpusData = TextData.availableCorpus[self.args.corpus](self.corpusDir + optional) File "D:\drophit\Documents\TensorFlowChatBots\3.5PythonTensor1.0-DeepQABot\chatbot\corpus\scotusdata.py", line 35, in init self.lines = self.loadLines(os.path.join(dirName, "scotus")) File "D:\drophit\Documents\TensorFlowChatBots\3.5PythonTensor1.0-DeepQABot\chatbot\corpus\scotusdata.py", line 48, in loadLines with open(fileName, 'r') as f: PermissionError: [Errno 13] Permission denied: 'D:\drophit\Documents\TensorFlowChatBots\3.5PythonTensor1.0-DeepQABot\data\scotus\scotus'

EMCP commented 7 years ago

again, this is perhaps a path issue since you're in Windows.. try my PR and see if the error occurs

https://github.com/Conchylicultor/DeepQA/pull/144