huawei-noah / trustworthyAI

Trustworthy AI related projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Different outputs for web GUI and python implementation

marti5ini opened this issue · comments

Hello, I have noticed a notable difference between the results obtained when running an algorithm by importing the library using pip, and the results obtained when utilizing the web GUI application. Is it possible to delve into the underlying factors contributing to this difference?

Hello, could you give an example of what the differences are? Using stochastic algorithms can give differences in the results, so ensure the seed is the same. Also, is there any difference running with the latest code from GitHub (as there are some minor changes since version 1.0.3 which is installed using pip)?

Hello, thank you for your response. I have verified the version, and the web app and the library are operating on version 1.0.3. I couldn't find any newer version available.
I am attaching the two graph versions obtained using the default parameters of the PC and the data used for the generation.
generated_graph__GUI
generated_graph__python
data.csv

This was a bug in how the edges are saved in the web GUI (and the shown result there was therefore incorrect). I have pushed a fix that should solve the problem, you can try with the latest code version and check so that it works. Thanks for reporting the issue!