About the disadvantages of tensorflow2.0

Use python3.7 to correspond to tensorflow2.0. Above
and tensorflow2.0 and above use session session is not the same as before

tf.compat.v1.Session()

You have to change it to something like this

Published 21 original articles · praised 0 · visits 505

Guess you like

Origin blog.csdn.net/huatianxue/article/details/105391623