Traceback (most recent call last):


 "model_main_tf2.py", line 31, in <module>

from object_detection import model_lib_v2


 "D:\tf_train\models\research\object_detection\model_lib_v2.py", line 27, in <module>

from object_detection import eval_util


 "D:\tf_train\models\research\object_detection\eval_util.py", line 36, in <module>

slim = tf.contrib.slim
AttributeError: module 'tensorflow_core.compat.v1' has no attribute 'contrib'

Traceback (most recent call last):


 "algo/code2.py", line 4, in <module>

cloudpickle.load(f)
AttributeError: 'Inherited' object has no attribute '__dict__'
