Hitting a FileNotFoundError
NoCodeAvaible opened this issue · 0 comments
NoCodeAvaible commented
Hey guys,
after the model has finished the training and is going to be saved this error occurs:
Traceback (most recent call last):
File "main.py", line 82, in <module>
main(args)
File "main.py", line 27, in main
model.save_arpa(name)
File "C:\Users\supre\Documents\Python Programme\kenlm\ngram-lm\ngram.py", line 265, in save_arpa
arpa.write(path)
File "C:\Users\supre\Documents\Python Programme\kenlm\ngram-lm\arpa.py", line 52, in write
with open(path, 'w') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'arpa\\wiki-interpolate.3gram.arpa'
Thank's for every suggestion and help in advance:)