ReColorAdv icon indicating copy to clipboard operation
ReColorAdv copied to clipboard

Google Colab reported an error, how should I solve it?

Open SuperCarryFu opened this issue 2 years ago • 4 comments

SuperCarryFu avatar May 23 '22 00:05 SuperCarryFu

Can you provide any more details on the error? Like a screenshot or stack trace?

cassidylaidlaw avatar May 23 '22 00:05 cassidylaidlaw

AttributeError Traceback (most recent call last) in () 3 4 # Display the successful adversarial examples. ----> 5 successful_advs, successful_origs = perturbation.collect_successful(model, normalizer) 6 successful_diffs = ((successful_advs - successful_origs) * 3 + 0.5).clamp(0, 1) 7 img_utils.show_images([successful_origs, successful_advs, successful_diffs])

AttributeError: 'tuple' object has no attribute 'collect_successful'

SuperCarryFu avatar May 23 '22 01:05 SuperCarryFu

An error was reported in the last code block recoloradv+stadv+delta

SuperCarryFu avatar May 23 '22 01:05 SuperCarryFu

I believe it should be fixed now, let me know if you still have the issue!

cassidylaidlaw avatar May 31 '22 19:05 cassidylaidlaw