为了在 Tensorflow 中使用预训练模型,我们为 TensorFlow 克隆了 Model Garden,然后在 Model Zoo 中选择一个模型,例如Detection Model Zoo : EfficientDet D0 512x512。
有没有办法检测到正确版本的 Tensorflow,例如2.7.0
, or 2.7.1
, or 2.8.0
,这肯定会与上述设置一起使用?
文档 ( README.md
) 似乎没有提到这个要求。也许它以某种方式暗示?
我检查setup.py
了对象检测,但仍然没有任何线索!
\models\research\object_detection\packages\tf2\setup.py
REQUIRED_PACKAGES = [
# Required for apache-beam with PY3
'avro-python3',
'apache-beam',
'pillow',
'lxml',
'matplotlib',
'Cython',
'contextlib2',
'tf-slim',
'six',
'pycocotools',
'lvis',
'scipy',
'pandas',
'tf-models-official>=2.5.1',
'tensorflow_io',
'keras'
]