WongKinYiu / ScaledYOLOv4

Scaled-YOLOv4: Scaling Cross Stage Partial Network
GNU General Public License v3.0
2.02k stars 572 forks source link

It can train on the VOC format dataset.Just can not run it directly on the darket #205

Open SpongeBab opened 3 years ago

SpongeBab commented 3 years ago

You can see at https://github.com/WongKinYiu/ScaledYOLOv4/issues/8

image image image image image

hi@WongKinYiu. this is the generated png during my train. is this is normal? some Bbox is correct but some is abnormal. can you help me ? please.

SpongeBab commented 3 years ago

and this is the test result predictions predictions predictions

SpongeBab commented 3 years ago

@WongKinYiu this is my xml.

<annotation>
    <folder>E:\Desk\demo</folder>
    <filename>02_20201017135000_2.jpg</filename>
    <path>E:\Desk\demo\02_20201017135000_2.jpg</path>
    <source>
        <database>desk</database>
    </source>
    <size>
        <width>1920</width>
        <height>1080</height>
        <depth>3</depth>
    </size>
    <segmented>0</segmented>
    <object>
        <name>studentDesk</name>
        <pose>Unspecified</pose>
        <truncated>0</truncated>
        <difficult>0</difficult>
        <bndbox>
            <xmin>1162</xmin>
            <ymin>858</ymin>
            <xmax>1499</xmax>
            <ymax>1061</ymax>
        </bndbox>
    </object>
    <object>

this is my .txt label 0 0.69296875 0.888425925925926 0.17552083333333332 0.18796296296296297 0 0.7640625 0.6509259259259259 0.12291666666666666 0.12407407407407407 0 0.8020833333333334 0.4930555555555556 0.09479166666666666 0.075 0 0.79453125 0.3888888888888889 0.01614583333333333 0.037037037037037035 0 0.8671875 0.3388888888888889 0.015625 0.022222222222222223 0 0.8341145833333333 0.2740740740740741 0.0171875 0.014814814814814815 0 0.8549479166666667 0.2490740740740741 0.04739583333333333 0.02777777777777778 .....

and i reproduce my bounding box by my xml files. 图片

where is the error? hope to your reply!

SpongeBab commented 3 years ago

latest. https://github.com/WongKinYiu/ScaledYOLOv4/issues/8