cviviers / YOLOv5-6D-Pose

6-DoF Pose estimation based on the YOLOv5 framework. Specific focus on instruments in X-ray applications
https://ieeexplore.ieee.org/document/10478293
GNU General Public License v3.0
32 stars 6 forks source link

I can't get your results on the linmod dataset #14

Closed panwenfeics26 closed 1 week ago

panwenfeics26 commented 1 week ago

I'm trying to train your model, but the trained model doesn't predict the outcome The command I used was python train.py --batch 32 --epochs 5000 --cfg yolov5xv6_pose_bifpn.yaml --hyp configs/hyp.single.yaml --weights yolov5x.pt --data configs/linemod/benchvise.yaml --rect --cache --optimizer Adam

Here are my training parameters 微信截图_20240626160541

I used cat data for training, but the training model could not detect any coordinates in the previous many images when reasoning 微信截图_20240626160755

The picture that can detect the coordinates, the coordinates are also very inaccurate can you tell me what is wrong with the training? Thank you very much for your answer 微信截图_20240626161033

Here are some pictures from my training 微信截图_20240626162359 微信截图_20240626162436

cviviers commented 1 week ago

Hi @panwenfeics26,

The params look correct. Are you also training with replacing the background and occluding the objects? These parameters are set in the config file, which should work correctly if the VOC dataset is set up correctly.

Here is my output from the cat run:

results

panwenfeics26 commented 1 week ago

Thank you very much for your answer, I have been able to train the model normally. Thank you for such a great job.