-
-
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
changing yolo input dimensions using coco dataset #569
Comments
Hello @yosefyehoshua, thank you for your interest in our work! Please visit our Custom Training Tutorial to get started, and see our Jupyter Notebook , Docker Image, and Google Cloud Quickstart Guide for example environments. If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you. If this is a custom model or data training question, please note Ultralytics does not provide free personal support. As a leader in vision ML and AI, we do offer professional consulting, from simple expert advice up to delivery of fully customized, end-to-end production solutions for our clients, such as:
For more information please visit https://www.ultralytics.com. |
@yosefyehoshua torch hub tutorial has some info on varying input channels: https://docs.ultralytics.com/yolov5/tutorials/pytorch_hub_model_loading |
thanks for the answer. I'm now trying to train the model from torch.hub but while training:
my dataloader:
I'm gettting this error that my datakoader imgs is of 'tuple' type: imgs = imgs.to(device, non_blocking=True).float() / 255.0 what am I doing wrong? |
@yosefyehoshua only torch tensors can be sent to a device. You've tried to do the same with a python tuple. |
yes because I need to use this function in my dataloader of else I get an error from collate.py |
I'm basically trying to train this: |
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, how can I change yolo to take input of size WxHx6xN instead of WxHx3xN?
Hi, I want to modify yolo to take 6 channel image, instead of 3, modifying to first layer is enough
Is there an easy way to do it? thanksntext
The text was updated successfully, but these errors were encountered: