mingukkang / ENAS-Tensorflow

Efficient Neural Architecture search via parameter sharing(ENAS) micro search Tensorflow code for windows user
113 stars 33 forks source link

Issues regarding Tensorflow code #8

Open shashi19081994 opened 4 years ago

shashi19081994 commented 4 years ago

Hi, I was trying to run the code and understand its working but i am stuck with an error don't know how to resolve it. Please suggest me a solution. The error looks like this

Traceback (most recent call last): File "main_controller_child_trainer.py", line 21, in flags = tf.app.flags AttributeError: module 'tensorflow' has no attribute 'app'

Thank you in advance.

thunguyenth commented 4 years ago

I guess that error is because of the TensorFlow version. This work was implemented using TensorFlow 1.x and maybe you are using version 2.x. If that is the case, changing to version 1.x might help. Good luck!

shashi19081994 commented 4 years ago

@thunguyenth Thank you. That helped me to solve the issue. But after running for sometime i am getting new error. Error

AttributeError: 'module' object has no attribute 'initializers' getting this new error. Thanks in advance.