-
-
Notifications
You must be signed in to change notification settings - Fork 16.4k
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
Can I train 4-channel pictures? #314
Comments
@LVROBOT sure, you can train any channel images. When models are created you can specify how many input channels are used, though beware opencv will typically load most images, even black-white images as 3-ch images. The Model() accepts a channel argument here, with ch=3 by default. Lines 45 to 46 in 121d90b
Also when calling a model from torch hub you can set the input channel count similarly. See https://docs.ultralytics.com/yolov5/tutorials/pytorch_hub_model_loading |
@glenn-jocher 0%| | 0/1196 [00:07<?, ?it/s] |
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. |
Did some data processing,Can I train 4-channel pictures?
The text was updated successfully, but these errors were encountered: