This is what i have written:
detection_model = model_builder.build(model_config=model_config, is_training=True)
And I am getting this error
is not supported for tf version 2. See model_builder.py for features extractors compatible with different versions of Tensorflow
from object_detection.builders import model_builder
Sir, while installing this I am getting this error can you please help me with this, yesterday it worked fine but today I am getting error…
RuntimeError Traceback (most recent call last)
RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf . Check the section C-API incompatibility at the Troubleshooting ImportError section at Troubleshooting — NumPy v2.0.dev0 Manual for indications on how to solve this problem .
RuntimeError Traceback (most recent call last)
RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf . Check the section C-API incompatibility at the Troubleshooting ImportError section at Troubleshooting — NumPy v2.0.dev0 Manual for indications on how to solve this problem .
ImportError Traceback (most recent call last)
in <cell line: 22>()
20 from object_detection.utils import visualization_utils as viz_utils
21 from object_detection.utils import colab_utils
—> 22 from object_detection.builders import model_builder
23
24 get_ipython().run_line_magic(‘matplotlib’, ‘inline’)
9 frames
/usr/local/lib/python3.10/dist-packages/numpy/testing/_private/utils.py in
21 from numpy.core import(
22 intp, float32, empty, arange, array_repr, ndarray, isnat, array)
—> 23 import numpy.linalg.lapack_lite
24
25 from io import StringIO
ImportError: numpy.core.multiarray failed to import
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.