You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason is that the sequence represents the "continuation" of the model at the point where the Adversary lives in the model. Meaning that the Adversary can call the sequence to get a loss. Calling the model may be incorrect depending upon at which layer of model the Adversary lives.
The text was updated successfully, but these errors were encountered:
Right now, the
Adversary
checks whethermodel
is present in order to determine when to attack:MART/mart/attack/adversary.py
Line 314 in a2f936e
However, because an
Adversary
can live at any layer, it should really check whethersequence
is present:MART/mart/nn/nn.py
Line 115 in a2f936e
The reason is that the
sequence
represents the "continuation" of the model at the point where theAdversary
lives in the model. Meaning that theAdversary
can call thesequence
to get a loss. Calling the model may be incorrect depending upon at which layer of model theAdversary
lives.The text was updated successfully, but these errors were encountered: