114 images is barely the minimum. You should try to use more. The quality of annotations will also affect how well the model works.
niloofarsabouri

- Jan 24, 2024
- Joined Sep 12, 2023
- 0 best answers
python3 main_api.py -c best.json -m best_openvino_2022.1_6shave.blob
When you specify
-m yolo
it tries to download it from our cloud. You should pass the path to your .blob path there. So, in .zip from tools.luxonis.com you will get the .json (which you are using correctly) and a .blob file. -m should be path to that blobfile.Hi niloofarsabouri
Clone it using https:
git clone https://github.com/luxonis/depthai-experiments.git
What you are doing is cloning it using SSH, for which you need a key.
Hope this helps,
JakaIf you've got it trained, path to weights should likely be runs/train/exp5/weights/best.pt. Notice the 5 in exp5 (not just exp). Which number it is should be based on the experiment that was successful. Assuming it was the last run, check what the exp with the highest number is in runs/train folder.
wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtrainval_06-Nov-2007.tar -O ./VOCdevkit/VOCtrainval_06-Nov-2007.tar
Let's break it down:
wget
- This is a command-line utility to download files from the internet. It supports downloading via HTTP, HTTPS, and FTP.http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtrainval_06-Nov-2007.tar
- The URL of the file you want to download, in this case, the PASCAL VOC 2007 training/validation data.-O
- An option forwget
that allows you to specify the output filename and path../VOCdevkit/VOCtrainval_06-Nov-2007.tar
- Where you want the downloaded file to be saved. The.
indicates the current directory, so it will save in theVOCdevkit
subdirectory with the provided filename.
If you wish to substitute your data, just place the data some folder on your machine and point to it later in the tutorial when path for the dataset is used.
Thanks,
Jaka