Open
Description
Hi,
I am not getting couple of things in your implementation of imnet-fast-gradient.py.
1- In line 59, you say we don't min/max because of torch's own stuff. I am new to imagenet and not getting it. Why PyTorch is the problem here? Can you please give me more details on this?
2- In line 53, you pass 'output' and 'y' to the loss function. In your implementation, 'y' is the index of label predicted by our model (then converted into LongTensor). However, in the original paper author refers to 'y' as the true label. Is it a mistake or am I missing something?
Thanks
Metadata
Metadata
Assignees
Labels
No labels