models icon indicating copy to clipboard operation
models copied to clipboard

Failed to run the installation command , version problem?

Open xAnyaForger opened this issue 6 months ago • 0 comments

Command: python object_detection/builders/model_builder_tf2_test.py

Traceback (most recent call last): File "C:\Users\user\Desktop\TF2\models\research\object_detection\builders\model_builder_tf2_test.py", line 24, in from object_detection.builders import model_builder File "C:\Users\user\AppData\Roaming\Python\Python311\site-packages\object_detection\builders\model_builder.py", line 23, in from object_detection.builders import anchor_generator_builder File "C:\Users\user\AppData\Roaming\Python\Python311\site-packages\object_detection\builders\anchor_generator_builder.py", line 26, in from object_detection.protos import anchor_generator_pb2 File "C:\Users\user\AppData\Roaming\Python\Python311\site-packages\object_detection\protos\anchor_generator_pb2.py", line 9, in from google.protobuf import runtime_version as runtime_version ImportError: cannot import name 'runtime_version' from 'google.protobuf' (C:\Users\user\AppData\Roaming\Python\Python311\site-packages\google\protobuf_init.py)

xAnyaForger avatar Aug 01 '24 04:08 xAnyaForger