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

Run on CPU #62

Closed
ZJZ0405 opened this issue Apr 27, 2023 · 8 comments
Closed

Run on CPU #62

ZJZ0405 opened this issue Apr 27, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@ZJZ0405
Copy link

ZJZ0405 commented Apr 27, 2023

I get the following error when running in cpu environment.
"[ WARN:0@14.885] global net_impl.cpp:174 setUpNet DNN module was not built with CUDA backend; switching to CPU"

@vietanhdev
Copy link
Owner

It is only a warning - does not cause any problem with your program.

@ZJZ0405
Copy link
Author

ZJZ0405 commented Apr 27, 2023

It is only a warning - does not cause any problem with your program.

I was able to open the program normally, but when I used autotagging, the program crashed.I use ubuntu-desktop-20.04 and it tells me "Segmentation fault".I don't know why this happened.

@frankool
Copy link

but with this GPU is running?

@ZJZ0405
Copy link
Author

ZJZ0405 commented Apr 30, 2023

but with this GPU is running?

I read the source code and found that there are judgments about GPU and CPU. If I don't use GPU-accelerated DNN, I can open the software's GUI normally, but when I use the "Auto Labeling" function, the software will crash during loading. Because of this troublesome error message "segmentation fault", I cannot solve this problem without reading the source code completely. However, the problem may also be caused by not using "conda" to build the environment.

@vietanhdev
Copy link
Owner

@ZJZ0405 Please try with the newest code from master or v0.2.14 to see if the "Segmentation fault" is still there.

@vietanhdev vietanhdev added the bug Something isn't working label Apr 30, 2023
@ZJZ0405
Copy link
Author

ZJZ0405 commented May 3, 2023

I still have the above problem. [Does your program support the function of inputting images with different sizes from those preset in ”yaml“?

@vietanhdev
Copy link
Owner

If your program runs without crashing, it's only a warning.

  • Please update to the latest version v0.2.21.
  • Please open another issue for this: Does your program support the function of inputting images with different sizes from those preset in ”yaml“?

@ZJZ0405
Copy link
Author

ZJZ0405 commented May 5, 2023

@vietanhdev I found that I couldn’t add a custom model by changing the yaml after I upgraded to the new version. I plan to give up using it on the native system and switch to using it in the conda environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants