GPU not working for Detectron2 - Needs changing 'cpu' to 'cuda' inside config.json #642
-
GPU wasn't working for predictions made using SAHI even though I was using Something you could fix in the next iteration maybe. Thanks for the amazing tool. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hello @AliButtarPG, thanks a lot for the bug report! Can you be more specific on the issue? Did I understand it correctly:
|
Beta Was this translation helpful? Give feedback.
-
Hi @fcakyon, Sorry for not providing details, wasn't sure what more to write.
|
Beta Was this translation helpful? Give feedback.
-
@AliButtarPG we implemented SAHI Detectron2 support as: params in config file overwrites the params provided in Detectron2DetectionModel. This may be a bad practice, thanks for pointing that out! It would be better if the params in Detectron2DetectionModel would have higher priority 👍 |
Beta Was this translation helpful? Give feedback.
-
This PR should fix this issue: https://github.com/obss/sahi/issues/478 |
Beta Was this translation helpful? Give feedback.
This PR should fix this issue: https://github.com/obss/sahi/issues/478