bdqnghi / graph-ast

A tool to provide the graph representation of the source code based on the paper: "Learning to Represent Program with Graph, ICLR'18"
40 stars 12 forks source link

Not able to generate text graph #5

Open Manas-Embold opened 3 years ago

Manas-Embold commented 3 years ago

Hi When i try to convert fbs file to txt graph format, no txt file is generated.

docker run -v $(pwd):/e --entrypoint ggnn -it yijun/fast Bubblesort.fbs dummy.txt Bubblesort.txt

Terminal output: Namespace(argv=['Bubblesort.fbs', 'dummy.txt', 'Bubblesort.txt'], bidirect=False, dup=False, edgemaps=False, id_type=True, label=True, lastuse=False, localmaps=False, maps=False, mixing=False, mod=2, noedgetype=False, noposition=True, occurrence=True, syntaxonly=False, train_graph='molecules_train.json', valid_graph='molecules_valid.json')

No txt file genrated, i can see dummy.txt though

Manas-Embold commented 3 years ago

Please help