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

两个版本都有点报错,求助一下 #8

Open
Ma0zii opened this issue Oct 19, 2023 · 1 comment
Open

两个版本都有点报错,求助一下 #8

Ma0zii opened this issue Oct 19, 2023 · 1 comment

Comments

@Ma0zii
Copy link

Ma0zii commented Oct 19, 2023

C++版本报错:
1>------ 已启动生成: 项目: ConsoleApplication2, 配置: Release x64 ------
1>main.obj : error LNK2001: 无法解析的外部符号 "void __cdecl cv::imshow(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class cv::_InputArray const &)" (?imshow@cv@@YAXAEBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@AEBV_InputArray@1@@z)
1>已完成生成项目“ConsoleApplication2.vcxproj”的操作 - 失败。
========== 生成: 0 成功,1 失败,0 最新,0 已跳过 ==========
有9个无法解析符号的报错

python版本的报错:
Traceback (most recent call last):
File "E:\karuizhi\scrfd-opencv-main\main.py", line 123, in
outimg = mynet.detect(srcimg)
File "E:\karuizhi\scrfd-opencv-main\main.py", line 78, in detect
bboxes = self.distance2bbox(anchor_centers, bbox_preds)
File "E:\karuizhi\scrfd-opencv-main\main.py", line 35, in distance2bbox
x1 = points[:, 0] - distance[:, 0]
ValueError: operands could not be broadcast together with shapes (12800,) (3200,)
这个相减维度不匹配x1 = points[:, 0] - distance[:, 0]

@lixueyuan123886
Copy link

我也是这个问题,请问解决了吗

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

2 participants