Closed Jonas-sc closed 5 months ago
Hi, the codes are not tested on Windows. Could you run normally on Linux?
I got it working on Linux. I also had to change OAG-AQA/dpr/data/retriever_data.py
with open(self.file) as ifile:
to
with open(self.file, encoding='utf-8') as ifile:
in lines 106 and 273.
When running bash dense_retriever.sh
I also had to change OAG-AQA/dense_retriever.py line378 to my file path. I think this line of code should be read from the cfg file, but is currently hard coded.
With these made changes it works on Linux for me. I also tried it on Windows, but the terminal crashes when trying to execute bash dense_retriever.sh
I am having issues using the pretrained model. When running
I get the following output:
I changed the config files specified in the readme and the options.py in the dpr folder, because it would overwrite the model filepaths with those stored in the model and give an error. I have all requirements installed except Hydra, as it conflicts with Hydra-core
I am using Windows.
Any help is appreciated.