-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Error in training Object Detection using the given example #47
Comments
Hello, Could you please share the version of tensorflow and python that you have in your environment. |
Hi, I use Python 3.10.14. Package Version absl-py 2.1.0 |
Hello, The number of images in your dataset is smaller than the batch size you are using in the yaml file. So either you provide a bigger dataset or simply for your test you can reduce the batch size in the yaml file to 8 for example. Best Regards. |
Hi Mahdi, Thank you for your prompt reply. But at the end of training, I got the following error:
I checked that the file best_weights.h5 is indeed not present in the saved_models directory. |
Ah, it turns out that the validation dataset is too small as well. The batch size need to be lowered. |
Glad It worked for you. |
Hello,
My final goal is to do a custom dataset training on the object detection.
For a simple start, I try to follow the model training guide given in stm32ai-modelzoo/object_detecction/src.
The training config is attached.
my_config.txt
For the dataset, I took a few sample images from Pascal VOC 2012 dataset (attached).
pascal_dataset.zip
But, I got the following errors:
train_error_log.txt
What could be the problem?
Thank you for your guidance.
The text was updated successfully, but these errors were encountered: