You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue when using crfsuite that appears to only exist on Linux (or at least I never found the files on Windows). I have a program to extract accounting data from invoices that is hosted on an ec2 machine running on Amazon Linux 2. I load a CRF model using joblib and make a prediction, and apparently everytime my program is called, the model is saved as a file called model********.crfsuite in the /tmp directory. The problem is that I eventually end up with hundreds of files that take up all the space of my ec2 machine. (See Screenshot)
This problem also happens locally on my Ubuntu running with WSL2, also in /tmp.
The only relevant text I found was in the documentation of the CRF class:
I don't use this parameter, I only load my trained model using joblib.
Does anyone have an idea on how I can get it to stop saving those files infinitely?
Or alternatively, is it safe to use a cron script to delete those files? (I would prefer a cleaner solution)
The text was updated successfully, but these errors were encountered:
Hello,
I have an issue when using crfsuite that appears to only exist on Linux (or at least I never found the files on Windows). I have a program to extract accounting data from invoices that is hosted on an ec2 machine running on Amazon Linux 2. I load a CRF model using joblib and make a prediction, and apparently everytime my program is called, the model is saved as a file called model********.crfsuite in the /tmp directory. The problem is that I eventually end up with hundreds of files that take up all the space of my ec2 machine. (See Screenshot)
This problem also happens locally on my Ubuntu running with WSL2, also in /tmp.
The only relevant text I found was in the documentation of the CRF class:
I don't use this parameter, I only load my trained model using joblib.
Does anyone have an idea on how I can get it to stop saving those files infinitely?
Or alternatively, is it safe to use a cron script to delete those files? (I would prefer a cleaner solution)
The text was updated successfully, but these errors were encountered: