Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"!yolo task=detect mode=train model=yolov5l6u.pt data={dataset.location}/data.yaml epochs=100 imgsz=640" not running any epochs #11

Open
jeffnguyen27 opened this issue Jun 27, 2024 · 2 comments

Comments

@jeffnguyen27
Copy link

The above command stopped right after setup, before running any epoch. I also tried running with yolov5x.pt and yolov516.pt, with no difference. I'm running this on colab. Any idea how to fix this? Thanks.

screen1

@jeffnguyen27 jeffnguyen27 changed the title "!yolo task=detect mode=train model=yolov5x.pt data={dataset.location}/data.yaml epochs=100 imgsz=640" not running any epochs "!yolo task=detect mode=train model=yolov5l6u.pt data={dataset.location}/data.yaml epochs=100 imgsz=640" not running any epochs Jun 27, 2024
@Agares9
Copy link

Agares9 commented Jul 13, 2024

use GPU

@Khush1593
Copy link

!python train.py --img 640 --batch 10 --epochs 100 --data /content/tennis-ball-detection-6/data.yaml --weights /content/yolov5l6.pt --name yolov5l6_finetune

Also You can use this code for training. This is python code so it works well in CPU as well as in GPU. Here you have to change the value of variables according to your requirements.

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

No branches or pull requests

3 participants