Open clw5180 opened 2 years ago
训练的时候,--weights yolov5l.pt 是不是直接会把yolov5官方模型里面有的key加载进来
We will not share the final yolov5x weights. The weights of yolov5l have proved the excellent performance of the tph-yolov5. You can train the weights of yolov5x by yourself. If you want to use any pre-trained weights, use --weights 'path to your pretrained weights'. For more information you can refer to the original repo of yolov5.
@cv516Buaa Can you share model definition of yolov5x-xs-tph.yaml
?
Is just fixing depth_multiple=1.33
and width_multiple=1.25
in the yolov5l-xs-tph.yaml
O.K.?
Is just fixing depth_multiple=1.33 and width_multiple=1.25 in the yolov5l-xs-tph.yaml O.K.?
Seems O.K.
I found this comment. https://github.com/cv516Buaa/tph-yolov5/issues/6#issuecomment-983842916
Is just fixing depth_multiple=1.33 and width_multiple=1.25 in the yolov5l-xs-tph.yaml O.K.?
Seems O.K.
I found this comment. #6 (comment)
Hi,how about your experiment? I also want yolov5s with TPH,how should I change the yaml?
@mx2013713828 Check the diff of yolov5s.yaml and yolov5l.yaml. These are only differed with few lines.
@mx2013713828 Check the diff of yolov5s.yaml and yolov5l.yaml. These are only differed with few lines.
okey,I‘m training yolov5s,but my PC is not strong,so I'm waiting for result! can you share your experiment result with yolov5m? thank you!
Unfortunately currently I have no plan to train full scratch.
Unfortunately currently I have no plan to train full scratch.
Anyway,thanks!
Hello @mx2013713828 , I have trained the model from scratch with yolov5s and yolov5s6. For the yaml file I only changed the width and depth multipliers corresponding to the ones from the ultralytics repo. These were my results (pretty good!)
Note that v5s6-xs-tph
is trained with input size 640 and v5s6-xs-tph-1280
is trained with input size 1280. I don't really understand exactly if that is the way to do it, but this works pretty good.
@maarten0912 Cool. Thank you for sharing. Can you also share mAP@.5:.95 plot for us?
@bilzard
@maarten0912 Thanks!
@maarten0912 can you share your yolov5s and yolov5s6 pretrained weights? thanks!
@maarten0912 can you share your yolov5s and yolov5s6 pretrained weights? thanks!
@RoyCopterPix They are both found here: https://github.com/ultralytics/yolov5#pretrained-checkpoints
@maarten0912 can you share your yolov5s and yolov5s6 pretrained weights? thanks!
@RoyCopterPix They are both found here: https://github.com/ultralytics/yolov5#pretrained-checkpoints
I meant your pretraied weights with the tph-yolov5
I meant your pretraied weights with the tph-yolov5
@RoyCopterPix Yes, I used the yolov5s (trained on COCO) as pretrained weights for training the tph-yolov5 model. I trained that model on the VisDrone dataset. Do you maybe mean my final weights?
I meant your pretraied weights with the tph-yolov5
@RoyCopterPix Yes, I used the yolov5s (trained on COCO) as pretrained weights for training the tph-yolov5 model. I trained that model on the VisDrone dataset. Do you maybe mean my final weights?
yeah I meant your final weights :) can you share it?
I meant your pretraied weights with the tph-yolov5
@RoyCopterPix Yes, I used the yolov5s (trained on COCO) as pretrained weights for training the tph-yolov5 model. I trained that model on the VisDrone dataset. Do you maybe mean my final weights?
yeah I meant your final weights :) can you share it?
@RoyCopterPix I'm sorry, but I cannot share it. You can train your own model by modifying the .yaml, using the yolov5s as pretrained and training on the VisDrone dataset. You just have to follow the README. If you don't have a CUDA machine, you can rent a cloud machine.
I meant your pretraied weights with the tph-yolov5
@RoyCopterPix Yes, I used the yolov5s (trained on COCO) as pretrained weights for training the tph-yolov5 model. I trained that model on the VisDrone dataset. Do you maybe mean my final weights?
yeah I meant your final weights :) can you share it?
@RoyCopterPix I'm sorry, but I cannot share it. You can train your own model by modifying the .yaml, using the yolov5s as pretrained and training on the VisDrone dataset. You just have to follow the README. If you don't have a CUDA machine, you can rent a cloud machine.
Oh ok then I got 3-4 questions:
Thanks!
You could just create the yaml using that pic as the reference, and then train from scratch. On my custom tiny-target dataset, that final model performed worse than the other custom model provided by this repo(not the tph one, that one was the worst :/).
这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。
Thanks a lot!