microsoft / reliableAI

MIT License
41 stars 7 forks source link

`graph.res` do not exist when running XInsight #9

Open MarshBear opened 1 year ago

MarshBear commented 1 year ago

I am running the XInsight code.

I have changed the sl_algo in "run.py", line 72, into xl = XLearner(data_path, sl_algo='blip') to use BLIP, but got an issue

FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\DINGHU~1\\AppData\\Local\\Temp\\tmpnj_rdn_q\\graph.res'

which occurs in "BLIP.py", line 52, in parse_res_file

The blip file and jkd are placed in the lib dir.

pckennethma commented 1 year ago

Is there any additional error information? It looks like the BLIP fail to generate the graph file. Could you try to run BLIP in terminal and see if it can produce a graph file?

pckennethma commented 1 year ago

You may need to adjust the memory argument (-Xmx200G) in BLIP.py as appropriate. The experiments were conducted on a server with 256GB of memory. Be aware that running BLIP on large datasets without adequate memory might lead to OOM issues.