. Advertisement .
..3..
. Advertisement .
..4..
I am trying to use fastText
with PyCharm. And I get the ”process finished with exit code -1073740791 (0xc0000409)” error when I run my code.
Process finished with exit code -1073740791 (0xC0000409)
This is my code:
import fastText
model=fastText.train_unsupervised("data_parsed.txt")
model.save_model("model")
I don’t know why this error occurs and what can be done to avoid it?
The cause:
0xC0000409
means stack buffer overflow and this perhaps causes the problem.Solution: You could try disabling the /GS flag and recompiling (project properties, check for C/C++ -> Code Generation -> Buffer Security Check). You might be able to catch and track an error if you run the code again. I believe /GS is intended to withhold all information from you for security reasons.
You may also try running the code exactly as is on a separate PC to see whether it fails; if it succeeds, this may indicate a hardware issue.
Other methods include eliminating some material from the training file to minimize its size and using text normalization to reduce the size of the vocabulary.