one-pixel-attack-keras icon indicating copy to clipboard operation
one-pixel-attack-keras copied to clipboard

Not able to reproduce Google Collab notebook

Open martinehman opened this issue 3 years ago • 5 comments

It seems like imports are broken, which version of tensorflow/keras has been used?

ImportError: cannot import name 'Adam' from 'keras.optimizers'

in line from networks.pure_cnn import PureCnn

martinehman avatar Jan 13 '22 14:01 martinehman

I have the same problem

pEtienn avatar Feb 11 '22 16:02 pEtienn

Just found it, they used the version where Keras and Tensorflow were separated.

pEtienn avatar Feb 11 '22 16:02 pEtienn

Just found it, they used the version where Keras and Tensorflow were separated.

Thanks, I noticed that but I'm not sure which versions they have used. In requirements.txt versions are not set.

martinehman avatar Feb 11 '22 16:02 martinehman

What version do you use? Was it successful?

SuperCarryFu avatar May 21 '22 09:05 SuperCarryFu

What version do you use? Was it successful?

the tensorflow version is 1.15.0,and the keras version is 2.3.1,it can run successfully

MQN-80 avatar Jul 13 '22 05:07 MQN-80