我在Google Colab中使用tensorflow进行对象检测。我在试着从摄像头里拿到视频。这是最后一个阶段。但是我得到了下面的错误continent.How我可以调整图片的大小吗?ValueError: in user code:
image, shapespython3.7/dist-packages/tensorflow/python/ops
我使用DirectoryIterator从目录中读取图像并训练我的模型。我希望能够验证它是否有效,所以我尝试在包含图像的numpy数组上使用model.predict,但是我得到了以下错误dimensions, but got array with shape (128, 56)
我不确定来自DirectoryIteratory的flow_from_directory具有什么样的形状或<
HOG/env/lib/python3.7/site-packages/skimage/feature/_hog.py", line 286, in hogValueErrorHOG/env/lib/python3.7/site-packages/skimage/feature/_hog.py", line 286, in hog
dtype=float_dtype