We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
您好,我在运行代码时,发现您在Read_me中的歧义攻击1为
python amb_attack_v3.py --type fake2 但在代码中,这部分定义为: if 'fake2-' in self.type: shape = [] x = torch.cuda.FloatTensor(shape) noise1 = torch.randn(*key.size(), out=x) noise2 = torch.randn(*key.size(), out=x) torch.randn(*key.size()) m.register_parameter(keyname, nn.Parameter( noise1 )) m.register_parameter(skeyname, nn.Parameter( noise2 )) 因此,这部分命令应为 python amb_attack_v3.py --type fake2-1,不知是否正确
The text was updated successfully, but these errors were encountered:
No branches or pull requests
您好,我在运行代码时,发现您在Read_me中的歧义攻击1为
Ambiguity attack I
python amb_attack_v3.py --type fake2
但在代码中,这部分定义为:
if 'fake2-' in self.type:
shape = []
x = torch.cuda.FloatTensor(shape)
noise1 = torch.randn(*key.size(), out=x)
noise2 = torch.randn(*key.size(), out=x)
torch.randn(*key.size())
m.register_parameter(keyname, nn.Parameter( noise1 ))
m.register_parameter(skeyname, nn.Parameter( noise2 ))
因此,这部分命令应为 python amb_attack_v3.py --type fake2-1,不知是否正确
The text was updated successfully, but these errors were encountered: