I've also tried another laptop, started pycharm, created a requirements.txt file and wanted to install farm.ĮRROR: Could not find a version that satisfies the requirement torch=1.5.* (from farm) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2) So I thought that this might be because of my windows machine or some updates I did, so I tried ubuntu(version 20.04) in my VM, and when trying to install FARM from pycharm in Ubuntu system, its not working either., giving me a "non-zero exit code (137)" error. ![]() I also tried to delete and deinstall everything and start fresh, but I am still getting "module not found" erros or it evens kills installing and I cant even properly install FARM anymore. Sometimes it seemed to have installed FARM, but when i tried to import farm (or from farm.infer import Inferencer), I kept getting a Win126 error (specific module not found) and after googling I' came across this issue with updating torch but cudaonly, so I did that but it didn't solve the problem. installing it from the package "store" in pycharm.installing it from the pycharm terminal using pip install farm, pip install farm=0.4.6, or cloning the GIT Repo, call requirements.txt and -editable.installing it in pycharm with a requirements.txt file.Up to now, I've tried all kinds of different versions to install Farm such as ![]() I am using pycharm for this but I am having troubles loading and installing FARM. Now i was trying to deploy the model and integrate it to a flask script to later load it into a webapp. I've saved the model using the model.save and processor.save and then testet it with loading the model with the Inferencer, which worked all perfectly fine. I was working with FARM in Google Colab do create a deep learning model for text classification.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |