Skip to content

Detection.py tries to work with CUDA in CPU mode#161

Open
hanoglu wants to merge 1 commit intoWongKinYiu:mainfrom
hanoglu:main
Open

Detection.py tries to work with CUDA in CPU mode#161
hanoglu wants to merge 1 commit intoWongKinYiu:mainfrom
hanoglu:main

Conversation

@hanoglu
Copy link

@hanoglu hanoglu commented Dec 28, 2021

'cpu' parameter should be controlled before initialization of 'model'.

Detection can be done with CPU now.
Copy link

@SaladBreaker SaladBreaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, I think you forgot the : after the if and the else

@hanoglu
Copy link
Author

hanoglu commented Mar 3, 2022

Yes I forgot the : after if and else

Copy link

@michalkrawczyk michalkrawczyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing :

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

Successfully merging this pull request may close these issues.

3 participants