Giter Club home page Giter Club logo

Comments (3)

animesh avatar animesh commented on August 11, 2024

wget https://raw.githubusercontent.com/facebookresearch/PyTorch-BigGraph/master/examples/filtered_eval.py
solves it, sorry for trouble!

from pytorch-biggraph.

animesh avatar animesh commented on August 11, 2024
$ git clone https://github.com/facebookresearch/PyTorch-BigGraph.git
cd PyTorch-BigGraph

to circumvent following error

Traceback (most recent call last):
  File "pg.py", line 83, in <module>
    main()
  File "pg.py", line 58, in main
    rel_col=1,
  File "/home/ash022/.local/lib/python3.6/site-packages/torchbiggraph/converters/import_from_tsv.py", line 233, in convert_input_data
    validate_config(config)
  File "/home/ash022/.local/lib/python3.6/site-packages/torchbiggraph/converters/import_from_tsv.py", line 304, in validate_config
    user_config = get_config_dict_from_module(config)
  File "/home/ash022/.local/lib/python3.6/site-packages/torchbiggraph/config.py", line 394, in get_config_dict_from_module
    spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
  File "<frozen importlib._bootstrap_external>", line 780, in get_code
  File "<frozen importlib._bootstrap_external>", line 832, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'examples/configs/fb15k_config.py'

from pytorch-biggraph.

lw avatar lw commented on August 11, 2024

Yes, as you guessed the example is not self-contained and needs a few more files to work. It's best to run it from a full checkout of the repo. We should probably clarify this...

from pytorch-biggraph.

Related Issues (20)

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.