Giter VIP home page Giter VIP logo

Comments (6)

yzd-v avatar yzd-v commented on May 23, 2024

The log cannot help you to solve the problem. There must be something wrong with the codes. What's your mmdet version?

from fgd.

peiyingxin avatar peiyingxin commented on May 23, 2024

The log cannot help you to solve the problem. There must be something wrong with the codes. What's your mmdet version?

mmdet==2.25.0 mmcv-full==1.6.1

from fgd.

yzd-v avatar yzd-v commented on May 23, 2024

Please refer README for the higher mmdet version. You might initialize the student and teacher wrongly.

from fgd.

peiyingxin avatar peiyingxin commented on May 23, 2024

In my training log, I found
2022-08-05 17:52:24,038 - mmdet - INFO - Set random seed to 0, deterministic: False
2022-08-05 17:52:26,558 - mmdet - INFO - initialize ResNeXt with init_cfg {'type': 'Pretrained', 'checkpoint': 'open-mmlab://resnext101_64x4d'}
2022-08-05 17:52:27,039 - mmdet - INFO - initialize FPN with init_cfg {'type': 'Xavier', 'layer': 'Conv2d', 'distribution': 'uniform'}
2022-08-05 17:52:27,095 - mmdet - INFO - initialize RetinaHead with init_cfg {'type': 'Normal', 'layer': 'Conv2d', 'std': 0.01, 'override': {'type': 'Normal', 'name': 'retina_cls', 'std': 0.01, 'bias_prob': 0.01}}
2022-08-05 17:52:27,234 - mmdet - INFO - initialize ResNet with init_cfg {'type': 'Pretrained', 'checkpoint': 'torchvision://resnet50'}
2022-08-05 17:52:27,452 - mmdet - INFO - initialize FPN with init_cfg {'type': 'Xavier', 'layer': 'Conv2d', 'distribution': 'uniform'}
2022-08-05 17:52:27,509 - mmdet - INFO - initialize RetinaHead with init_cfg {'type': 'Normal', 'layer': 'Conv2d', 'std': 0.01, 'override': {'type': 'Normal', 'name': 'retina_cls', 'std': 0.01, 'bias_prob': 0.01}}
It seems that student and teacher all init from pretrained model, right?

from fgd.

yzd-v avatar yzd-v commented on May 23, 2024

For mmdet>2.12, you have to change the tools/train.py and mmdet/distillation/distillers/detection_distiller.py. You can refer MGD to change this.

from fgd.

peiyingxin avatar peiyingxin commented on May 23, 2024

OK, I will change code refer MGD.
Thanks for your reply!!

from fgd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.