" File \"C:\\Users\\Yassa\\Desktop\\Gitlab\\22_23-j-50\\Backend\\IT19251110\\TFODCourse\\Tensorflow\\models\\research\\object_detection\\builders\\model_builder_tf2_test.py\", line 21, in <module>\n",
" File \"C:\\Users\\Yassa\\Desktop\\Gitlab\\22_23-j-50\\Backend\\IT19251110\\TFODCourse\\Tensorflow\\models\\research\\object_detection\\builders\\model_builder_tf2_test.py\", line 24, in <module>\n",
" import tensorflow.compat.v1 as tf\n",
" from object_detection.builders import model_builder\n",
" File \"C:\\Users\\Yassa\\Desktop\\Gitlab\\22_23-j-50\\Backend\\IT19251110\\TFODCourse\\tfod\\lib\\site-packages\\tensorflow\\__init__.py\", line 37, in <module>\n",
" File \"C:\\Users\\Yassa\\Desktop\\Gitlab\\22_23-j-50\\Backend\\IT19251110\\TFODCourse\\tfod\\lib\\site-packages\\object_detection\\builders\\model_builder.py\", line 22, in <module>\n",
" from tensorflow.python.tools import module_util as _module_util\n",
" from object_detection.builders import box_predictor_builder\n",
" File \"C:\\Users\\Yassa\\Desktop\\Gitlab\\22_23-j-50\\Backend\\IT19251110\\TFODCourse\\tfod\\lib\\site-packages\\tensorflow\\python\\__init__.py\", line 37, in <module>\n",
" File \"C:\\Users\\Yassa\\Desktop\\Gitlab\\22_23-j-50\\Backend\\IT19251110\\TFODCourse\\tfod\\lib\\site-packages\\object_detection\\builders\\box_predictor_builder.py\", line 20, in <module>\n",
" from tensorflow.python.eager import context\n",
" from object_detection.predictors import convolutional_box_predictor\n",
" File \"C:\\Users\\Yassa\\Desktop\\Gitlab\\22_23-j-50\\Backend\\IT19251110\\TFODCourse\\tfod\\lib\\site-packages\\tensorflow\\python\\eager\\context.py\", line 28, in <module>\n",
" File \"C:\\Users\\Yassa\\Desktop\\Gitlab\\22_23-j-50\\Backend\\IT19251110\\TFODCourse\\tfod\\lib\\site-packages\\object_detection\\predictors\\convolutional_box_predictor.py\", line 22, in <module>\n",
" from tensorflow.core.framework import function_pb2\n",
" slim = tf.contrib.slim\n",
" File \"C:\\Users\\Yassa\\Desktop\\Gitlab\\22_23-j-50\\Backend\\IT19251110\\TFODCourse\\tfod\\lib\\site-packages\\tensorflow\\core\\framework\\function_pb2.py\", line 16, in <module>\n",
"AttributeError: module 'tensorflow' has no attribute 'contrib'\n"
" from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2\n",
" File \"C:\\Users\\Yassa\\Desktop\\Gitlab\\22_23-j-50\\Backend\\IT19251110\\TFODCourse\\tfod\\lib\\site-packages\\tensorflow\\core\\framework\\attr_value_pb2.py\", line 16, in <module>\n",
" from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2\n",
" File \"C:\\Users\\Yassa\\Desktop\\Gitlab\\22_23-j-50\\Backend\\IT19251110\\TFODCourse\\tfod\\lib\\site-packages\\tensorflow\\core\\framework\\tensor_pb2.py\", line 16, in <module>\n",
" from tensorflow.core.framework import resource_handle_pb2 as tensorflow_dot_core_dot_framework_dot_resource__handle__pb2\n",
" File \"C:\\Users\\Yassa\\Desktop\\Gitlab\\22_23-j-50\\Backend\\IT19251110\\TFODCourse\\tfod\\lib\\site-packages\\tensorflow\\core\\framework\\resource_handle_pb2.py\", line 16, in <module>\n",
" from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2\n",
" File \"C:\\Users\\Yassa\\Desktop\\Gitlab\\22_23-j-50\\Backend\\IT19251110\\TFODCourse\\tfod\\lib\\site-packages\\tensorflow\\core\\framework\\tensor_shape_pb2.py\", line 36, in <module>\n",
" _descriptor.FieldDescriptor(\n",
" File \"C:\\Users\\Yassa\\Desktop\\Gitlab\\22_23-j-50\\Backend\\IT19251110\\TFODCourse\\tfod\\lib\\site-packages\\google\\protobuf\\descriptor.py\", line 560, in __new__\n",
" Using cached protobuf-3.20.0-cp310-cp310-win_amd64.whl (903 kB)\n",
"Installing collected packages: protobuf\n",
" Attempting uninstall: protobuf\n",
" Found existing installation: protobuf 4.21.12\n",
" Uninstalling protobuf-4.21.12:\n",
" Successfully uninstalled protobuf-4.21.12\n",
"Successfully installed protobuf-3.20.0\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n",
"tensorflow-object-detection-api 0.1.1 requires Matplotlib>=2.1, which is not installed.\n",
"tensorflow-object-detection-api 0.1.1 requires matplotlib, which is not installed.\n",
"tensorflow-intel 2.11.0 requires protobuf<3.20,>=3.9.2, but you have protobuf 3.20.0 which is incompatible.\n"