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
Function attack_success takes argument img which is an id of the image in the dataset. Wouldn't it be clearer if this variable is called img_id or something like this? Or we could pass the whole image from the dataset instead.
The text was updated successfully, but these errors were encountered:
Yes, I agree this could be clearer if it was either called img_id or passed in the image itself. Looking back, I notice that the attack_success function in attack.py actually does pass in the image, so I think I can modify the Jupyter notebook to be the same.
Function
attack_success
takes argumentimg
which is an id of the image in the dataset. Wouldn't it be clearer if this variable is calledimg_id
or something like this? Or we could pass the whole image from the dataset instead.The text was updated successfully, but these errors were encountered: