Comments (6)
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.
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.
Hi @gbaulard ,
Thank you for your interest in our work!
What python version and tensorflow
version are you using?
Best,
Uri
from code2seq.
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.
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.
Hi,
Thank you for the quick reply! I will definitely take a look at those papers.
Best
from code2seq.
Related Issues (20)
- Generating embeddings for Python and Java HOT 5
- Help with implementing local service with JavaExtractor HOT 10
- I can not preprocess Python dataset
- Error running prediction on Code2seq released model
- I got Out of Memory Error during Training
- Unable to get embeddings from the trained model for Java
- Extract Path Contexts Only HOT 5
- InvalidArgumentError in sess.run() HOT 3
- Visualize Python AST HOT 2
- Extract java files HOT 2
- Getting "was not completed in time" error when preprocessing dataset HOT 11
- code2seq for Python HOT 3
- Sampling k paths from AST tree HOT 11
- I am getting TimeError while using code2seq to predict long method HOT 2
- Generating code documentation with code2seq HOT 8
- Tensorflow out-of-bound error while trying to train the Code2Seq model on our own python dataset HOT 6
- Model is predicting empty string for custom python dataset HOT 8
- Exporting code vectors HOT 6
- Encountered error of preprocess data HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from code2seq.