#(FIXED) Cant use training model command

66 messages · Page 1 of 1 (latest)

proper plume
#

@proper plume

#

pls help

proper plume
#

@chrome bridge

#

.

lyric portal
#

Did you install yolov5?

#

Ultralytics?

#

And torch?

proper plume
proper plume
lyric portal
#

How did you install them?

#

Check this tutorial

proper plume
#

and pip install -r requirements.txt

#

I got told

#

"It's not compatible with Python 3.11. collections.Callable was moved under a different module in Python 3.10. So you need to use Python 3.9 or earlier."

proper plume
#

.

#

i still need help

lyric portal
proper plume
#

wat

lyric portal
#

You still need help?

proper plume
#

yes

proper plume
lyric portal
#

Did you install yolo?

proper plume
lyric portal
#

Try cd yolov5

proper plume
lyric portal
#

Do

#

Cd yolov5

#

On your cmd

proper plume
lyric portal
#

Yes

proper plume
#

The system cannot find the path specified.

lyric portal
#

Itsn not to rub

#

Yea so yolo isn't even on your pc

proper plume
#

ok how do i install it

lyric portal
#

Let's start with this

#

Certainly! Below are the commands you can use in the command prompt (cmd) to install PyTorch, torchaudio, torchvision, and YOLOv5 along with CUDA (assuming CUDA 11.1). Please note that you need to have Git and Python installed on your system before running these commands.

# Install PyTorch with CUDA 11.1
pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1+cu111 -f https://download.pytorch.org/whl/torch_stable.html

# Clone YOLOv5 repository
git clone https://github.com/ultralytics/yolov5.git

# Navigate to the YOLOv5 directory
cd yolov5

# Install YOLOv5 dependencies
pip install -U -r requirements.txt

Ensure that you have the necessary dependencies installed on your system, such as Python, Git, and CUDA-compatible GPU drivers. Adjust the PyTorch installation command based on your specific CUDA version if it differs from 11.1.

proper plume
#

Oh I think its because I uninstalled and reinstalled like 80 python versions

lyric portal
#

For cuda change the 11.1 to 11.8

proper plume
#

bruh

lyric portal
#

And torch search the latest on browser and change that

proper plume
#

pip install torch==1.9.1+cu111 torchvision==0.10.1+cu118 torchaudio==0.9.1+cu118 -f https://download.pytorch.org/whl/torch_stable.html so this

#

pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

lyric portal
#

?

proper plume
#

i thought the command u sent was

lyric portal
#

Bro you can't even understand this how am I even able to help you

#

Did you watch babyhamsta tutorial?

proper plume
lyric portal
#

I know

proper plume
#

???

lyric portal
#

In the command I sent, the numbers signifies the version to be installed but those are old versions so I am telling you to look it up on browser and change the numbers

#

On the command I gave

proper plume
#

so pip install torch==1.9.1+cu111 torchvision==0.10.1+cu118 torchaudio==0.9.1+cu118 -f https://download.pytorch.org/whl/cu121

proper plume
#

wdym change it

lyric portal
#
# Install PyTorch with CUDA 11.8
pip install torch==2.1+cu118 torchvision==0.10.1+cu118 torchaudio==0.9.1+cu118 -f https://download.pytorch.org/whl/torch_stable.html

# Clone YOLOv5 repository
git clone https://github.com/ultralytics/yolov5.git

# Navigate to the YOLOv5 directory
cd yolov5

# Install YOLOv5 dependencies
pip install -U -r requirements.txt
#

Try this on cmd

proper plume
# lyric portal ```bash # Install PyTorch with CUDA 11.8 pip install torch==2.1+cu118 torchvisio...

Collecting torch==2.1+cu118 Downloading https://download.pytorch.org/whl/cu118/torch-2.1.0%2Bcu118-cp311-cp311-win_amd64.whl (2722.7 MB) ---------------------------------------- 2.7/2.7 GB ? eta 0:00:00 ERROR: Ignored the following yanked versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3, 0.15.0 ERROR: Could not find a version that satisfies the requirement torchvision==0.10.1+cu118 (from versions: 0.1.6, 0.2.0, 0.15.0+cpu, 0.15.0+cu117, 0.15.0+cu118, 0.15.1, 0.15.1+cpu, 0.15.1+cu117, 0.15.1+cu118, 0.15.2, 0.15.2+cpu, 0.15.2+cu117, 0.15.2+cu118, 0.16.0, 0.16.0+cpu, 0.16.0+cu118, 0.16.0+cu121, 0.16.1, 0.16.1+cpu, 0.16.1+cu118, 0.16.1+cu121) ERROR: No matching distribution found for torchvision==0.10.1+cu118

proper plume
#

@proper plume

lyric portal
proper plume
#

hi