Skip to content

why qat training pipline eval quantized_model at the same time eval original_model [Bug]  #530

@youwenjing

Description

@youwenjing

Describe the bug

when i qat resnet50 and yolov7 ,i find it evals quantized_model at the same time evals original_model,and it aims to reduce the gap of above of two; after the 10 epochs training, i got a low precision quantized_model and original_model.
here is the train log of resnet50
46ba27cec2e857493582137232d2436
eaa35365ef44c4907ac12a6a4ba9815
66485a7919176c9de98af91348d905d

here is v7
b0daabcef53a38550ca20ade5bee4c1

a00015b2e2dc371829c49aebacf62d7
6acbff0cb75bf80512dbb22ef003d2b
cb0ec7d9d5b078f33a20286533eff47

e2ba66cbedf25b5ca099b041464a03d
3852fa97f70916cf261ebba6780b41c

so why does it happen? could someone illustrate the pipline of qat training? why does it training the twos at the same time?
thanks a lot
[here]

Post related information

here is my resnet50 config
07c27e5538c64661e5c665e68592ced
f9778bce99e6d45323a482b157c9735
0dab285eb51d1c0673d56bcbbade95b
4dd6666858127b433f12dbd3eb2e0e4

here is yolov7
fcaf86610e2c0846cbfe0503eee300e

98c2afd989676b638230c07bef6be88
695796a38b7c3ee620c26d1cea92dfb

eef766b26313bf856454333cb23c5b7

i train resnet use mmcls 1.0.0rc6 i train yolov7 use mmdet 3.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions