nd7141 / iso_bias

Code for "Understanding Isomorphism Bias in Graph Data Sets" paper.
https://arxiv.org/abs/1910.12091
9 stars 2 forks source link

'gcc -o iso nauty_iso.c nauty26r11/nauty.a' returned non-zero exit status 1 #1

Open caraalexander opened 4 years ago

caraalexander commented 4 years ago

In trying to use this repo to clean isomorphic duplicates out of a graph dataset formatted in the dortmund format, I am running into an issue when running main.py. Trying it out with the MUTAG dataset before moving on to my own, I have already used preprocessing.py to convert the graphs in the data set to nauty format, and can see them in datasets_nauty\MUTAG_adj.

The error I get when running main.py is as follows:

CalledProcessError: Command 'gcc -o iso nauty_iso.c nauty26r11/nauty.a' returned non-zero exit status 1.

Any suggestions for what might be going on here?

nd7141 commented 4 years ago

Hi @elizalexander

Sorry for a long response. I was receiving this error when for some reason the input graphs were not in line with what nauty expects. Unfortunately, the error is not very informative and it's hard to debug.

In general, I went through all datasets in TU, including mutag and it was working. Do you use MUTAG from this repository? Have you tried any other data sets to run this code?