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

when run 3D moudle: ValueError: operands could not be broadcast together with shapes (25,2,3) (0,) #38

Open
XXLiu-HNU opened this issue Nov 13, 2023 · 3 comments

Comments

@XXLiu-HNU
Copy link

image

when i run "Search_3D", the screenshot shows what happed.

@wiselisx
Copy link

我也发现了了一样的问题,只需要把if SET != []:改成if SET.all() != []:就可以解决你的问题。

@xiaozeng107
Copy link

我也发现了了一样的问题,只需要把if SET != []:改成if SET.all() != []:就可以解决你的问题。

我修改了SET之后会报错: in draw_line
if SET.all() != []:
AttributeError: 'list' object has no attribute 'all'
请问您知道是怎么回事吗?

@DucAnh-Vu-Trinh
Copy link

You can modify the line to:
if np.any(SET):

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

4 participants