I wrote this code which is below
VERIFICATION_SCRIPT = os.path.join(paths[‘APIMODEL_PATH’], ‘research’, ‘object_detection’, ‘builders’, ‘model_builder_tf2_test.py’)
Verify Installation
!python {VERIFICATION_SCRIPT}
AND
import tensorflow as tf
from object_detection.utils import config_util
from object_detection.protos import pipeline_pb2
from google.protobuf import text_format
and i am getting an error in both of the code :-
Traceback (most recent call last):
File “D:\OBJECT DETECTION\TFODCourse\Tensorflow\models\research\object_detection\builders\model_builder_tf2_test.py”, line 21, in
import tensorflow.compat.v1 as tf
ModuleNotFoundError: No module named ‘tensorflow.compat’