Giter Site home page Giter Site logo

Comments (6)

lapplislazuli avatar lapplislazuli commented on June 16, 2024 3

For other people coming here from the 2.1 Fork

The following requirements.txt worked for me:

clang
joblib
libclang
lmdb
networkx
numpy==1.19.5
rouge==0.3.2
tensorflow==2.1
tensorflow-gpu==2.1
keras==2.1
tensorflow_addons==0.9.1
scikit_learn
flatbuffers

However if your GPU is recognized depends on the model - newer GPUs do not support the old CUDA Frameworks required for TF 2.1.
3080Ti is not compatible.

from code2seq.

ethansaurusrex avatar ethansaurusrex commented on June 16, 2024 1

Hi @gbaulard,

Did you ever find a solution to this issue, I have run into the same problem in the official version and the tensor flow 2.1+ fork by Kolkir. Thanks!

from code2seq.

urialon avatar urialon commented on June 16, 2024

Hi @gbaulard ,
Thank you for your interest in our work!

What python version and tensorflow version are you using?

Best,
Uri

from code2seq.

gbaulard avatar gbaulard commented on June 16, 2024

Hi,

We tried :

  • python 3.9.7 with tensorflow 2.8.0
  • python 3.8.10 with tensorflow 2.8.0
    with the unofficial version of the project.

With your official version, it was python 3.6.5 and tensorflow 1.12.0

The 3 configs give this same error, running train.sh bash WSL or code2seq.py in conda.

Best

from code2seq.

urialon avatar urialon commented on June 16, 2024

Hi all,
I think that the code supports only tensorflow 1.*.

If you are interested in NL<->code, I recommend checking our newer projects which are all publicly available using the Huggingface library:
https://github.com/VHellendoorn/Code-LMs
https://github.com/neulab/code-bert-score
https://github.com/shuyanzhou/docprompting

Best,
Uri

from code2seq.

ethansaurusrex avatar ethansaurusrex commented on June 16, 2024

Hi,

Thank you for the quick reply! I will definitely take a look at those papers.

Best

from code2seq.

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.