GINN-Imp / GINN

Learning Semantic Program Embeddings with Graph Interval Neural Network
https://dl.acm.org/doi/10.1145/3428205
14 stars 4 forks source link

have a problem when running the command #9

Open suncici opened 1 year ago

suncici commented 1 year ago

I have a problem when running the command,has anyone encountered?python 3.7, other package is same to the package in the requirement.txt.

1675311210997

when I update tensorflow-datasets version to 2.1.0 , anthor error happens.

image
GINN-Imp commented 1 year ago

I think the problem is introduced by tensor2tensor==1.15.4, simply removing the following code from GINN.py resolves the problem:

from tensor2tensor.models import transformer
from tensor2tensor.data_generators import problem_hparams