Add support for *.pfm images #9230
Add support for *.pfm images #9230glenn-jocher merged 1 commit intoultralytics:masterfrom spacewalk01:add-pfm-image-extension-support
*.pfm images #9230Conversation
There was a problem hiding this comment.
👋 Hello @spacewalk01, thank you for submitting a YOLOv5 🚀 PR! To allow your work to be integrated as seamlessly as possible, we advise you to:
- ✅ Verify your PR is up-to-date with
ultralytics/yolov5masterbranch. If your PR is behind you can update your code by clicking the 'Update branch' button or by runninggit pullandgit merge masterlocally. - ✅ Verify all YOLOv5 Continuous Integration (CI) checks are passing.
- ✅ Reduce changes to the absolute minimum required for your bug fix or feature addition. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." — Bruce Lee
|
@spacewalk01 thanks for the PR! Have you been able to train correctly with *.pfm images on this branch? |
.pfm images *.pfm images
|
@spacewalk01 PR is merged. Thank you for your contributions to YOLOv5 🚀 and Vision AI ⭐ |
|
Oh you merged, I was trying to test training model with pfm images. I will test it and fix if there is any problem. |
|
I could not train?? AssertionError: train: No labels found in D:\rty\yolov5\datasets\coco128\labels\train2017.cache, can not start training. See https://docs.ultralytics.com/yolov5/tutorials/train_custom_data the labels are there when I change the images extension, it works well I used MiDaS to get the depth. |
add support for pfm image
|
@urbansound8K it seems that the issue might be related to the labels for the pfm images. We recommend verifying the label files and ensuring they are correctly formatted and in the expected directory. 📝 You can find guidelines for training custom data in the YOLOv5 documentation at https://docs.ultralytics.com/yolov5/tutorials/train_custom_data. Let us know if you need further assistance. |


Solved the following issue:
#9222 (comment)
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Expanded image format support in YOLOv5 data loaders.
📊 Key Changes
.pfmimage format files.🎯 Purpose & Impact
.pfm(Portable Float Map) files for input, which is beneficial for depth maps or HDR images.