Open gbaulard opened 2 years ago
Hi @gbaulard , Thank you for your interest in our work!
What python version and tensorflow
version are you using?
Best, Uri
Hi,
We tried :
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
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!
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
Hi,
Thank you for the quick reply! I will definitely take a look at those papers.
Best
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.
Hello,
Getting this error when running code2seq.py on the java large preprocessed dataset.
This is the line that is beng trggered in module.py of tensorflow :
Any thoughts appreciated.
Regards