Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

您好,执行高斯图生成的时候会报错。 #98

Open
zcswdt opened this issue Dec 16, 2021 · 3 comments
Open

您好,执行高斯图生成的时候会报错。 #98

zcswdt opened this issue Dec 16, 2021 · 3 comments

Comments

@zcswdt
Copy link

zcswdt commented Dec 16, 2021

region_image = cv2.applyColorMap(region_image, cv2.COLORMAP_JET)

报错如下:
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\colormap.cpp:714: error: (-5:Bad argument) cv::ColorMap only supports source images of type CV_8UC1 or CV_8UC3 in function 'cv::colormap::ColorMap::operator ()'

@backtime92
Copy link
Owner

convert type to unint8
region_image = region_image.astype(np.uint8)
affinity_image = affinity_image.astype(np.uint8)

@zcswdt
Copy link
Author

zcswdt commented Dec 17, 2021

convert type to unint8 region_image = region_image.astype(np.uint8) affinity_image = affinity_image.astype(np.uint8)

您好,我一直在关注您这个项目,关于此次的更新,在高斯热力图的生成上和上次是有什么区别吗?可以详细的介绍吗?

@pengfan-ui
Copy link

您好!我在用CRAFT作者提供的模型做测试的时候发现指标都比论文中低了两到三个点,请问你有测试过他们的模型吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants