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 “run.sh”,Type error:can't convert np.ndarray of type numpy unit16 #4

Open
xxxgcat opened this issue Nov 12, 2022 · 3 comments

Comments

@xxxgcat
Copy link

xxxgcat commented Nov 12, 2022

1668256805378
Hello, when I run "run.sh", I get an error , the content is type error:can't convert np.ndarray of type numpy unit16

@xiaoxiaohu28
Copy link

I have the same problem.

@xiaoxiaohu28
Copy link

Can you fix it?

@BWGZK
Copy link
Owner

BWGZK commented Jan 8, 2023

This error occurs in the torch.from_numpy() operation. The mask can be converted to int32 before this operation. For more details, this page provides the explanation.

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