【发布时间】:2021-05-22 01:32:05
【问题描述】:
我一直在学习https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/training.html 的教程,试图制作一个物体检测器。我已经完成了我认为正确的所有步骤,但是当我运行火车命令时......
python model_main_tf2.py --model_dir=models/my_ssd_resnet50_v1_fpn --pipeline_config_path=models/my_ssd_resnet50_v1_fpn/pipeline.config
...在我的 conda 提示中,这是错误。我包括回溯的结尾。如果需要,我可以提供更多。
... 文件“pycocotools_mask.pyx”,第 1 行,在 init pycocotools._mask ValueError:numpy.ndarray 大小已更改,可能表示二进制不兼容。预期 C 标头为 88,PyObject 为 80
我不知道什么是二进制不兼容,而且我看到的关于此错误的所有其他 SO 帖子都希望它在我已经删除的库版本之间的某个地方不匹配。这可能仍然是它的样子,但我已经经历了一堆不同的版本组合,试图让它继续下去,但没有运气。任何帮助表示赞赏。
【问题讨论】:
标签: python tensorflow conda