Skip to content

Commit

Permalink
fix done/adone test
Browse files Browse the repository at this point in the history
  • Loading branch information
kayzliu committed May 11, 2023
1 parent 16b8247 commit d049fcd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pygod/detector/adone.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def init_model(self, **kwargs):

def forward_model(self, data):
batch_size = data.batch_size
node_idx = data.node_idx
node_idx = data.n_id

x = data.x.to(self.device)
s = data.s.to(self.device)
Expand Down
2 changes: 1 addition & 1 deletion pygod/detector/anomalydae.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def init_model(self, **kwargs):

def forward_model(self, data):
batch_size = data.batch_size
node_idx = data.node_idx
node_idx = data.n_id

x = data.x.to(self.device)
s = data.s.to(self.device)
Expand Down
2 changes: 1 addition & 1 deletion pygod/detector/conad.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def init_model(self, **kwargs):

def forward_model(self, data):
batch_size = data.batch_size
node_idx = data.node_idx
node_idx = data.n_id

x = data.x.to(self.device)
s = data.s.to(self.device)
Expand Down
2 changes: 1 addition & 1 deletion pygod/detector/done.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def init_model(self, **kwargs):

def forward_model(self, data):
batch_size = data.batch_size
node_idx = data.node_idx
node_idx = data.n_id

x = data.x.to(self.device)
s = data.s.to(self.device)
Expand Down

0 comments on commit d049fcd

Please sign in to comment.