当前位置:网站首页>NotImplementedError: Cannot convert a symbolic Tensor (yolo_boxes_0/meshgrid/Size_1:0) to a numpy ar

NotImplementedError: Cannot convert a symbolic Tensor (yolo_boxes_0/meshgrid/Size_1:0) to a numpy ar

2022-07-05 06:16:00 univertju

Use tensorflow When you run the program , Encountered the following error :
NotImplementedError: Cannot convert a symbolic Tensor (yolo_boxes_0/meshgrid/Size_1:0) to a numpy array.

The problem is due to numpy Version too high , Unable to join tensorflow collocation , Reduce numpy The version of can solve the problem , It's usually numpy1.19.5 Here's how it goes
For example, use Alibaba cloud to install numpy1.18.0

pip install numpy==1.18.0 -i https://mirrors.aliyun.com/pypi/simple/

 Insert picture description here

原网站

版权声明
本文为[univertju]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140618586973.html