Open yashkark opened 5 years ago
Downgrade your keras version to 2.0, it will work.
The new error arises by downgrading the keras version. @iamaaditya Is there any other way out for this problem ?
You need to remove the top layers of the pre-trained VGG and keep the Dense layer of 4096 as your output
@yashkark @AmrataRamchandani Hello, I have the same problem. Have you solved the problem? Can you share with us how to solve it? Thank you very much!
did any one find any working solution for this issue?
I have facing this issue can anyone help?
AttributeError Traceback (most recent call last) ~\RobotLab\lib\site-packages\tensorflow_core\python\keras\engine\base_layer.py in setattr(self, name, value) 2260 try: -> 2261 super(tracking.AutoTrackable, self).setattr(name, value) 2262 except AttributeError:
AttributeError: can't set attribute
During handling of the above exception, another exception occurred:
AttributeError Traceback (most recent call last)
Finally, I overcame this issue. It's a package version problem. Use python==3.5, tensorflow==1.2.0, keras==2.0.6, scikit-learn==0.18.1, spacy==2.0.2, opencv-python==3.2.0.7 and it will work. I have uploaded my anaconda env at https://drive.google.com/file/d/1-9QUB7ho3jzXmFN2eM-6K4O5uvkGAOGZ/view?usp=sharing.
keras version 2.2.4 tensorflow version 1.12.0