To implement ResNets in my local environment I realize that I have to update tensorflow to 2.0 or higher versions.
I had the version 1.4 that comes with conda. Seeing that the conventional wisdom is against installing the update with PIL, I did it with
conda install tensorflow==2.0
and then tried the simple
import tensorflow as tf
I got a scary error
ERROR! Session/line number was not unique in database. History logging moved to new session 59
After that, I got more errors (actually, 3) , of the type
ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.
Here is a sample piece of the long traceback.
ImportError: cannot import name ‘random_uniform’ from ‘tensorflow.keras.initializers’ (C:.…py)
During handling of the above exception, another exception occurred:
…
AttributeError: ‘ImportError’ object has no attribute ‘render_traceback’
During handling of the above exception, another exception occurred: etc.
Obviously, updating tensorflow is above my pay grade
Any suggestions? how to create a local environment with the current tensorflow version?