You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While installing "!python -m pip install models/research" on Colab, it returns this error:
Using cached PyYAML-5.4.1.tar.gz (175 kB)
Installing build dependencies ... done
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
But it doesn't stop the process of execution on the notebook but it returns an error while running:
from object_detection.utils import label_map_util
Error:
ImportError Traceback (most recent call last) in <cell line: 2>()
1 # import the label map utility module
----> 2 from object_detection.utils import label_map_util
3
4 # import module for reading and updating configuration files.
5 from object_detection.utils import config_util
ImportError: cannot import name 'string_int_label_map_pb2' from 'object_detection.protos' (/usr/local/lib/python3.10/dist-packages/object_detection/protos/init.py)
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
But this time stops the process of execution on the Colab
The text was updated successfully, but these errors were encountered:
While installing "!python -m pip install models/research" on Colab, it returns this error:
Using cached PyYAML-5.4.1.tar.gz (175 kB)
Installing build dependencies ... done
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
But it doesn't stop the process of execution on the notebook but it returns an error while running:
from object_detection.utils import label_map_util
Error:
ImportError Traceback (most recent call last)
in <cell line: 2>()
1 # import the label map utility module
----> 2 from object_detection.utils import label_map_util
3
4 # import module for reading and updating configuration files.
5 from object_detection.utils import config_util
/usr/local/lib/python3.10/dist-packages/object_detection/utils/label_map_util.py in
19 import tensorflow as tf
20 from google.protobuf import text_format
---> 21 from object_detection.protos import string_int_label_map_pb2
22
23
ImportError: cannot import name 'string_int_label_map_pb2' from 'object_detection.protos' (/usr/local/lib/python3.10/dist-packages/object_detection/protos/init.py)
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
But this time stops the process of execution on the Colab
The text was updated successfully, but these errors were encountered: