Hi,
I see that you are facing an error related to the dimensions of arrays being concatenated during the training process of the YOLOX object detector. This error is typically caused by inconsistencies in the dimensions of the images or labels in the dataset.
To solve this error, you need to ensure that all images in your dataset are resized to the specified input size and that the aspect ratio is maintained. Additionally, verify that the bounding box labels are correctly formatted and match the dimensions of the resized images.
I faced a similar issue and by following the below steps I was able to resolve the issue:
- Ensure that all images are resized to the specified input size [128 228 3].
- Check that the aspect ratio of the input size is consistent with the aspect ratio of the images in your dataset. If not, pad or crop the images accordingly.
- Ensure that the bounding box labels correspond correctly to the resized images.
Please refer to the below documentations for more information.
- Preprocess Images for Deep Learning: https://www.mathworks.com/help/deeplearning/ug/preprocess-images-for-deep-learning.html
- Object Detection Using YOLO v3 Deep Learning: https://www.mathworks.com/help/vision/ug/object-detection-using-yolo-v3-deep-learning.html
I hope this helps.