Skip to content

error trying to use yolov5+sahi on colab and gpu device #722

Answered by fcakyon
lorenzlorg asked this question in Q&A
Discussion options

You must be logged in to vote

I have just tried this notebook on Google Colab GPU instance: https://github.com/obss/sahi/blob/main/demo/inference_for_yolov5.ipynb

Updated first command with:
!pip install -U torch==1.11.0 torchvision==0.12.0 pillow==8.* sahi yolov5

and device with 'cuda:0'

Did not have any issues.

Replies: 4 comments 11 replies

Comment options

You must be logged in to vote
4 replies
@lorenzlorg
Comment options

@fcakyon
Comment options

@fcakyon
Comment options

@lorenzlorg
Comment options

Comment options

You must be logged in to vote
7 replies
@fcakyon
Comment options

@lorenzlorg
Comment options

@fcakyon
Comment options

@fcakyon
Comment options

@lorenzlorg
Comment options

Answer selected by fcakyon
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants