Git Product home page Git Product logo

drm_codesearch's People

Contributors

laurence-ling avatar linzeqipku avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

gulian-github

drm_codesearch's Issues

Missing db files

@linzeqipku , @laurence-ling :
When trying to prepare the data and train the model an error occurred.

~/PythonProjects/drm_codesearch$ python3 main.py -p --mode train
preparing dataset...
Traceback (most recent call last):
  File "main.py", line 112, in <module>
    main()
  File "main.py", line 47, in main
    prepare(conf, conf['data']['test_code_path'], conf['data']['test_nl_path'], conf['data']['test_db_path'], train_mode=False, train_db_path=conf['data']['train_db_path'])
  File "/home/akalanka/PythonProjects/drm_codesearch/preprocess/prepare.py", line 22, in prepare
    with open(train_corpus_path, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: './tmp/train_origin_codevec.txt'

When I check the config.ini file the db paths are invalid because there are no db files in the tmp directory. How do I generate/get the db files?

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.