Open adarsh0906 opened 4 years ago
I've same error. Please update the post when you fix the problem
Even I've same error. Please update if your problem was fixed.
Same Problem when runinng with a custom trained Darknet network: python detect.py --weights .\yolo-obj_last.weights --framework tf --size 608 --image .\img.png
File "detect.py", line 90, in main pred_bbox = utils.postprocess_bbbox(pred_bbox, ANCHORS, STRIDES, XYSCALE) File "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\model_optimizer\tensorflow-yolov4-tflite\core\utils.py", line 308, in postprocess_bbbox xy_grid = np.tile(tf.expand_dims(xy_grid, axis=0), [1, 1, 1, 3, 1]) File "C:\Users\tlagemann\.conda\envs\opencv\lib\site-packages\numpy\lib\shape_base.py", line 1233, in tile c = _nx.array(A, copy=False, subok=True, ndmin=d) File "C:\Users\***\AppData\Roaming\Python\Python37\site-packages\tensorflow_core\python\framework\ops.py", line 736, in __array__ " array.".format(self.name))
I get this error when i run the code