Closed JafarBadour closed 4 years ago
Hi @JafarBadour
I haven't been able to recreate this problem. Please could you let me know your versions of tensorflow and FoolBox? They should be as per the requirements.txt file.
Many thanks, Katy
I have solved it by making virtual environment and installing older version of tensorflow ... problem was because of new version. Thank you for reply.
Main issue
I think the code was written with an older version of foolbox or tensorflow. Because while running cell
This error arises:
I tried renaming
input_or_adv
toinputs
andlabel
tonp.ndarray([y])
but it doesnt work. thelabels
lengths andinputs
length should be equal.here is a link of what i had done on google colab
Colab link