abdullahtarek / tennis_analysis

This project analyzes Tennis players in a video to measure their speed, ball shot speed and number of shots. This project will detect players and the tennis ball using YOLO and also utilizes CNNs to extract court keypoints. This hands on project is perfect for polishing your machine learning, and computer vision skills.
319 stars 108 forks source link

existing error on this code: !yolo task=detect mode=train model=yolov8x.pt data={dataset.location}/data.yaml" epochs=100 imgsz=640 #4

Open KrishEdit opened 2 months ago

KrishEdit commented 2 months ago

hi, please help, I encountered these errors even after changing the dataset details: raise RuntimeError(emojis(f"Dataset '{clean_url(self.args.data)}' error ❌ {e}")) from e RuntimeError: Dataset 'C://Users/My name is Krish/Downloads/TENNIS_ANALYSIS/training/Tennis-Ball-Detection-5/data.yaml' error
Dataset 'C://Users/My name is Krish/Downloads/TENNIS_ANALYSIS/training/Tennis-Ball-Detection-5/data.yaml' images not found , missing path 'C:\Users\My name is Krish\Downloads\TENNIS_ANALYSIS\training\Tennis-Ball-Detection-5\valid\images' Note dataset download directory is 'C:\Users\My name is Krish\Downloads\TENNIS_ANALYSIS\datasets'. You can update this in 'C:\Users\My name is Krish\AppData\Roaming\Ultralytics\settings.yaml'

abdullahtarek commented 2 months ago

make sure that you have the train,valid and test folders in the path provided above. If not just move them to the path mentioned above.

KrishEdit commented 2 months ago

good morning Mr. Abdullahtarek, When I checked it, it is on the right folder path. By the way, is it okay that I run it on VS code instead of running it in Google Colab?

Sincerely, Krishia Olan

On Fri, Apr 19, 2024 at 3:55 PM Abdullah Tarek @.***> wrote:

make sure that you have the train,valid and test folders in the path provided above. If not just move them to the path mentioned above.

— Reply to this email directly, view it on GitHub https://github.com/abdullahtarek/tennis_analysis/issues/4#issuecomment-2065877381, or unsubscribe https://github.com/notifications/unsubscribe-auth/BG4HIW2P7BLDJ4FIKEVO6KTY6C5V3AVCNFSM6AAAAABGOL7KNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRVHA3TOMZYGE . You are receiving this because you authored the thread.Message ID: @.***>