You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking to use the yolov5 model and opencv in my project. I am currently using Poetry as the virtual environment for my project.
In order to operate yolov5 with gpu rather than cpu, I am looking to install cuda. I am trying to download the Cuda 12.1 version from https://pytorch.org/. For this, I have configured my pyproject.toml as follows:
Additionally, I used print(torch.__version__) for verification, and as an output, I observed 2.1.0+cpu.
Could anyone assist me on how to install the Pytorch Cuda version in Poetry?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am looking to use the yolov5 model and opencv in my project. I am currently using Poetry as the virtual environment for my project.
In order to operate yolov5 with gpu rather than cpu, I am looking to install cuda. I am trying to download the Cuda 12.1 version from https://pytorch.org/. For this, I have configured my pyproject.toml as follows:
Afterwards, I tried to install it in the poetry virtual environment using the following command:
However, during the installation, I observed the following error logs:
Additionally, I used
print(torch.__version__)
for verification, and as an output, I observed2.1.0+cpu
.Could anyone assist me on how to install the Pytorch Cuda version in Poetry?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions