Training YOLO in Colab
- 21Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is the recommended range of images for a proof-of-concept custom YOLO model dataset?
What is the recommended range of images for a proof-of-concept custom YOLO model dataset?
21 questions
- 1
What is the recommended range of images for a proof-of-concept custom YOLO model dataset?
- A
200 to 500 images
- B
500 to 1000 images
- C
50 to 100 images
- D
100 to 200 images
Correct answer
D100 to 200 images
Explanation
The video recommends 100 to 200 images as a good starting point for a proof-of-concept model.
- A
- 2
Which of the following is NOT mentioned as a source for obtaining pre-labeled images?
- A
Google's Open Images V7
- B
Kaggle
- C
Roboflow Universe
- D
ImageNet
Correct answer
DImageNet
Explanation
The video mentions Roboflow Universe, Kaggle, and Google's Open Images V7 as sources for pre-labeled images, but not ImageNet.
- A
- 3
According to the tutorial, what is the best way to build a dataset for a custom detection model?
- A
Use a web scraper to collect images
- B
Manually take pictures of objects in various conditions
- C
Generate synthetic images using a 3D renderer
- D
Download pre-labeled images from the internet
Correct answer
BManually take pictures of objects in various conditions
Explanation
The video states that the best way is to manually take pictures of your objects in a variety of conditions.
- A
- 4
What tool is used in the tutorial for labeling images?
- A
CVAT
- B
LabelImg
- C
VGG Image Annotator
- D
Label Studio
Correct answer
DLabel Studio
Explanation
The tutorial uses Label Studio, an open-source labeling tool, for labeling images.
- A
- 5
Which Python version is used for the Conda environment when installing Label Studio?
- A
Python 3.10
- B
Python 3.13
- C
Python 3.11
- D
Python 3.12
Correct answer
DPython 3.12
Explanation
The command creates an environment with Python 3.12: 'conda create --name yolo-env1 python=3.12'.
- A
- 6
How does Label Studio run on your computer?
- A
As a Python script that runs in the terminal
- B
As a local web server accessed via browser
- C
As a cloud service hosted by HumanSignal
- D
As a standalone desktop application
Correct answer
BAs a local web server accessed via browser
Explanation
Label Studio runs on a server hosted locally on your computer, and you interact with it through your web browser.
- A
- 7
What is the maximum number of images you can import at once into a Label Studio project without encountering an error?
- A
500 images
- B
200 images
- C
50 images
- D
100 images
Correct answer
D100 images
Explanation
The video mentions that importing more than 100 images at once will cause an error about exceeding the max number of files.
- A
- 8
When exporting labels from Label Studio for YOLO training, what format does the exported zip file contain?
- A
Images and labels in separate folders with a classes.txt file
- B
A single CSV file with bounding box coordinates
- C
A COCO format annotation file
- D
A JSON file containing all annotations
Correct answer
AImages and labels in separate folders with a classes.txt file
Explanation
The YOLO export option packages images and labels in a directory structure with images in an images folder, labels in a labels folder, and a classes.txt file.
- A
- 9
What runtime type should be selected in Google Colab for training a YOLO model?
- A
CPU
- B
TPU
- C
V100 GPU
- D
T4 GPU
Correct answer
DT4 GPU
Explanation
The tutorial instructs to change the runtime type to a T4 GPU for training.
- A
- 10
What command is used to check that a GPU is available in the Colab notebook?
- A
!gpu-check
- B
!nvidia-smi
- C
!gpu-status
- D
!check-gpu
Correct answer
B!nvidia-smi
Explanation
The notebook uses '!nvidia-smi' to verify that a Tesla T4 or similar GPU is available.
- A
- 11
When splitting the dataset into train and validation sets, what percentage of images is used for validation?
- A
15%
- B
5%
- C
20%
- D
10%
Correct answer
D10%
Explanation
The Python script randomly moves 10% of the dataset to the validation folder and 90% to the train folder.
- A
- 12
Which Python library is used to train the YOLO model?
- A
Ultralytics
- B
TensorFlow
- C
Keras
- D
PyTorch
Correct answer
AUltralytics
Explanation
The tutorial installs the Ultralytics library to train the YOLO model.
- A
- 13
What is the purpose of the data.yaml configuration file in YOLO training?
- A
It defines the paths to train and validation data and the class names
- B
It contains the training logs
- C
It sets the hyperparameters for the optimizer
- D
It stores the trained model weights
Correct answer
AIt defines the paths to train and validation data and the class names
Explanation
The data.yaml file sets the location of the train and validation folders and defines the model's classes.
- A
- 14
According to the tutorial, which YOLO model is recommended as a good starting point if unsure?
- A
YOLO11s
- B
YOLOv8x
- C
YOLOv5l
- D
YOLOv5n
Correct answer
AYOLO11s
Explanation
The video suggests that YOLO11s is a good starting point if you aren't sure which model to use.
- A
- 15
For a dataset with less than 200 images, what is the recommended number of training epochs?
- A
60 epochs
- B
40 epochs
- C
80 epochs
- D
20 epochs
Correct answer
A60 epochs
Explanation
The tutorial recommends 60 epochs for datasets with less than 200 images, and 40 epochs for more than 200 images.
- A
- 16
What is the default image resolution used for training in the tutorial?
- A
720x720
- B
1280x1280
- C
640x640
- D
480x480
Correct answer
C640x640
Explanation
The default resolution is 640x640, but can be lowered to 480x480 for faster inference or low-resolution images.
- A
- 17
Which file contains the best model weights after training?
- A
runs/detect/train/model.pt
- B
runs/detect/train/final.pt
- C
runs/detect/train/weights/best.pt
- D
runs/detect/train/weights/last.pt
Correct answer
Cruns/detect/train/weights/best.pt
Explanation
The best model weights are saved in 'runs/detect/train/weights/best.pt'.
- A
- 18
What does the results.png file show after training?
- A
Sample detection results on training images
- B
A plot of the model architecture
- C
Progress of metrics like loss, precision, recall, and mAP over epochs
- D
Confusion matrix of the model
Correct answer
CProgress of metrics like loss, precision, recall, and mAP over epochs
Explanation
The results.png file shows how metrics like loss, precision, recall, and mAP progressed over each training epoch.
- A
- 19
If the trained model has low accuracy, which of the following is NOT a suggested remedy?
- A
Use a larger model like YOLO11m
- B
Increase the number of training epochs
- C
Use a smaller model like YOLO11n
- D
Double-check the dataset for label errors
Correct answer
CUse a smaller model like YOLO11n
Explanation
The tutorial suggests checking for label errors, increasing epochs, or using a larger model, not a smaller one, to improve accuracy.
- A
- 20
What command is used to run the custom detection script on a USB camera?
- A
python yolo_detect.py --model my_model.pt --source 0 --resolution 1280x720
- B
python yolo_detect.py --model my_model.pt --source usb --resolution 1280x720
- C
python yolo_detect.py --model my_model.pt --source usb0 --resolution 1280x720
- D
python yolo_detect.py --weights my_model.pt --source webcam --resolution 1280x720
Correct answer
Cpython yolo_detect.py --model my_model.pt --source usb0 --resolution 1280x720
Explanation
The example command uses '--source usb0' for a USB camera at 1280x720 resolution.
- A
- 21
What key is used to quit the detection preview window when running the local script?
- A
Enter
- B
Spacebar
- C
Q
- D
Escape
Correct answer
CQ
Explanation
The tutorial states that you can press Q to quit the program.
- A

Ask anything
We've read this whole study set, so questions about it get the best answers.