GithubHelp home page GithubHelp logo

ibpa / love Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 2.0 69.67 MB

Learning Ontologies Via Embeddings

License: Apache License 2.0

Shell 4.69% Python 95.31%
artificial-intelligence food machine-learning ontology word-embedding word2vec

love's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

love's Issues

File Missing Error

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.