The guide for custom modules is here:
You said it’s for learning but at the same time you mentioned you’re using ChatGPT to modify Ultralytics, which is counter-intuitive. And if you’re stuck at channel-related errors, it’s usually a sign that some core deep learning basics are still missing. It’s not something that can be fixed through a single reply. It’s very important to understand the fundamentals first.
To be honest, I’m a newcomer to this field.
You can’t really jump to modifying Ultralytics if you’re new to deep learning. You should be studying the fundamentals first.