Comments (2)
Doing the work of @Youho99 here :)
Your issue looks the same as #315 or #302.
Probably you used a Yolov9 model with train.py. However, you need to use train_dual.py with a yolov9 model as train.py is only for Gelan models. Meaning you can either use a Gelan model with train.py as @Mecanight mentioned or use train_dual.py with the yolov9 model. (See #1)
from yolov9.
I had a similar problem
But in my case it was:
Traceback (most recent call last):
File "yolov9/segment/train.py", line 646, in <module>
main(opt)
File "yolov9/segment/train.py", line 542, in main
train(opt.hyp, opt, device, callbacks)
File "yolov9/segment/train.py", line 297, in train
loss, loss_items = compute_loss(pred, targets.to(device), masks=masks.to(device).float())
File "yolov9/utils/segment/loss_tal.py", line 173, in __call__
batch_size, _, mask_h, mask_w = proto.shape
AttributeError: 'list' object has no attribute 'shape'
To fix this, I started using the models/segment/gelan-c-seg.yaml file instead of models/segment/yolov9-c-dseg.yaml
I don't think this is the solution for your case
But, I hope this helps
from yolov9.
Related Issues (20)
- export openvino error
- ques
- question about val.py HOT 1
- about wandb HOT 1
- TensorRT - End2End support for Object Detection and Instance Segmentation
- save-period or save_period ? HOT 1
- Exporting predicted images
- Training with a npy file HOT 2
- Couldn't find YOLOv9-S and YOLOV9-T weights? HOT 3
- with aux branch or without aux branch HOT 1
- Doesn't the author seem to use the Adown module in yolov9upose?
- P,R,mAP50 and mAP50-95 is all 0 HOT 3
- Attention mechanism
- Reproduced GELAN-S (similar to YOLOv9-S without PGI trick) HOT 5
- YOLOv9 Speed estimation HOT 1
- A question about utils\general.py: prediction[0] or prediction[0][0]? HOT 1
- 3090正常运行,换成4090 读取数据的时候就开始报超时错误! HOT 2
- About batchsize HOT 8
- pycocotools unable to run: [Errno 2] No such file or directory: '/yolov9/annotations/instances_val2017.json'
- When training YOLOv9 to segment a specific category, you may encounter an error.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolov9.