-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YOLOConfiguration does not support number of channels!=3 #805
Comments
That's right, the number of channels in the input image is always 3 (RGB). @kfirgedal is there a way to specify the number of channels in the Darknet implementation? |
@senarvi Yes. |
@kfirgedal indeed you're right. It should be trivial to add support for that. I can take a look at it soon, unless you want to create a pull request. I'm currently working on a big update that would bring features from YOLOv5, YOLOX, and Scaled-YOLOv4. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi,
YOLOConfiguration implementation does not allow you to provide a number of channels in the .cfg file that is different than 3.
The line that is causing the problem is:
https://github.com/PyTorchLightning/lightning-bolts/blob/2415b49a2b405693cd499e09162c89f807abbdc4/pl_bolts/models/detection/yolo/yolo_config.py#L43
Thanks
The text was updated successfully, but these errors were encountered: