Closed 0saurabh0 closed 8 months ago
File Access: If the file exists and the path is correct, ensure that the script has sufficient access rights to read the file. Sometimes, file permissions or SELinux / AppArmor restrictions can cause such issues.
Data Loading: If the file is indeed missing or inaccessible, you may need to provide the correct data file or adjust the script to handle missing files gracefully, depending on the requirements of your application.
Logging: Implement logging or print statements in the script to track the flow of execution and identify any other issues that might be leading to this error.
It looks like you need to make sure that the source data is downloaded and available on your system.
Cleaning this up is something that could be part of the GSoC project. If you are applying to GSoC, remember to submit your proposals by April 2 at 18:00 UTC. You can also email gsoc@unicode.org with questions.
encountering a
FileNotFoundError
when running thetest_model_line_by_line
function intrain_thai/burmese.py
. The error message indicates that the filenews_00040.txt
in the directory/home/srvk/Desktop/lstm_w/lstm_word_segmentation/Data/Best/news/
does not exist.Here is the full error message:
CC @SahandFarhoodi @sffc