ibpa / love Goto Github PK
View Code? Open in Web Editor NEWLearning Ontologies Via Embeddings
License: Apache License 2.0
Learning Ontologies Via Embeddings
License: Apache License 2.0
Hello. Thank you for providing the code for your paper. I have started exploring it. I have followed the how-to-run steps that you provide. I have downloaded and unzipped glove.6B.zip, i have run the shell script to convert glove embeddings from the zip folder to word2vec and I have adjusted the default path to the one of my local machine.
Once I run file: run.sh I am getting the following error:
Traceback (most recent call last):
File "parse_wikipedia.py", line 115, in <module>
main()
File "parse_wikipedia.py", line 59, in main
pd_foodon_pairs = pd.read_csv('./data/FoodOn/foodonpairs.txt', sep='\t')
File "/Users/kostaspsychogyio/Desktop/LOVE/love-env/lib/python3.8/site-packages/pandas/io/parsers.py", line 610, in read_csv
return _read(filepath_or_buffer, kwds)
File "/Users/kostaspsychogyio/Desktop/LOVE/love-env/lib/python3.8/site-packages/pandas/io/parsers.py", line 462, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "/Users/kostaspsychogyio/Desktop/LOVE/love-env/lib/python3.8/site-packages/pandas/io/parsers.py", line 819, in __init__
self._engine = self._make_engine(self.engine)
File "/Users/kostaspsychogyio/Desktop/LOVE/love-env/lib/python3.8/site-packages/pandas/io/parsers.py", line 1050, in _make_engine
return mapping[engine](self.f, **self.options) # type: ignore[call-arg]
File "/Users/kostaspsychogyio/Desktop/LOVE/love-env/lib/python3.8/site-packages/pandas/io/parsers.py", line 1867, in __init__
self._open_handles(src, kwds)
File "/Users/kostaspsychogyio/Desktop/LOVE/love-env/lib/python3.8/site-packages/pandas/io/parsers.py", line 1362, in _open_handles
self.handles = get_handle(
File "/Users/kostaspsychogyio/Desktop/LOVE/love-env/lib/python3.8/site-packages/pandas/io/common.py", line 642, in get_handle
handle = open(
FileNotFoundError: [Errno 2] No such file or directory: './data/FoodOn/foodonpairs.txt'
I am not sure as to how I may obtain the file that is missing, i.e. foodonpairs.txt. What might be the issue here?
Thank you for your time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.