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

GPU not being found #178

Open
GScheckl opened this issue Jun 1, 2021 · 3 comments
Open

GPU not being found #178

GScheckl opened this issue Jun 1, 2021 · 3 comments

Comments

@GScheckl
Copy link

GScheckl commented Jun 1, 2021

The following code was working fine when we had the GPU in pci slot 1.

        GpuConfig gpuConfig = new GpuConfig();
        YoloInstance = new YoloWrapper(ConfigurationFilePath, WeightFilePath, ClassFilePath, gpuConfig);

When we moved the GUP to slot 2, the GPU is not found.

Does the GPU need to be located in slot 1?

@Desync3
Copy link

Desync3 commented Jan 6, 2022

Same issue

@avresial
Copy link

Did you try forceing GPU index this way?

YoloWrapper yoloWrapper = new YoloWrapper(yoloConfiguration, new GpuConfig() { GpuIndex = 0 });

@GScheckl
Copy link
Author

GScheckl commented Jan 26, 2022 via email

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