Ask questionsmodule 'tensorflow' has no attribute 'ConfigProto'
import tensorflow as tf
import os
config = tf.ConfigProto()
AttributeError: module 'tensorflow' has no attribute 'ConfigProto'
Answer
questions
blairhan
I guess you're using tensorflow 2.x. In that case, use tf.compat.v1.ConfigProto() instead.
Related questions