-
Notifications
You must be signed in to change notification settings - Fork 3
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
Adv training #24
Adv training #24
Conversation
experiments/attack_defense_test.py
Outdated
def test_attack_defense(): | ||
from attacks.QAttack import qattack | ||
# from attacks.poison_attacks_collection.metattack import meta_gradient_attack | ||
# my_device = device('cuda' if is_available() else 'cpu') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Аналогично. Убирай лишний код
tests/attacks_test.py
Outdated
@@ -1,3 +1,7 @@ | |||
import sys | |||
import os | |||
sys.path.append(f'/home/igor/Documents/graphs/GNN-AID/src') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Это не универсальные пути. Их быть не должно. В utils есть все универсальные пути. В частности, root_dir.
tests/explainers_test.py
Outdated
@@ -8,6 +8,10 @@ | |||
import signal | |||
from time import time | |||
|
|||
import sys |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Аналогично.
No description provided.