-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues related to graph injection attacks on NIPA #145
Comments
Hi, The input adjacency matrix already contains the injected nodes. Please see the file below. DeepRobust/examples/graph/test_nipa.py Lines 60 to 62 in fb047ac
|
Hello, could you please reply to me? |
Hi mmdhhhh, Thank you for pointing out. I agree that there is a bug in this file. Can you help me fix this issue and submit a pull request to this repo? I appreciate your help. |
Thank you for your answer! |
Hello author, I attempted to run the NIPA injection attack in the deeprobust library, but while reviewing the source code, I found some issues in the "deeprobust/graph/rl/nipa_env. py" file (as shown in the following figure). The variable N represents the number of nodes before injecting malicious nodes, self.all_nodes represent all nodes in the original graph. May I ask if self.injected_nodes represents the injected malignant nodes? If so, it should not take the index from the nodes in the original graph, is that correct?
The text was updated successfully, but these errors were encountered: