DSE-MSU / DeepRobust

A pytorch adversarial library for attack and defense methods on images and graphs
MIT License
995 stars 192 forks source link

Mettack for directed graphs #68

Closed ocrinz closed 3 years ago

ocrinz commented 3 years ago

The original implementation of Mettack is designed only for undirected graphs. I've added an option undirected to MetaBase, Metattack, MetaApprox and utils.likelihood_ratio_filter and adapted their codes to support both undirected and directed graphs. I set the default value of undirected to True so that it is supposed be compatible with existing code.

ChandlerBang commented 3 years ago

Thank you!