Skip to content

How to disable the log message of c2_model_loading]: Following weights matched with model: #4364

@lucasjinreal

Description

@lucasjinreal

I dont know when and which d2 version I updated, it now always prints me this:

[06/27 16:09:44 fvcore.common.checkpoint]: [Checkpointer] Loading from output/coco_yolo2_mbv3/model_0079999.pth ...
[06/27 16:09:46 d2.checkpoint.c2_model_loading]: Following weights matched with model:
| Names in Model                              | Names in Checkpoint                                                                             | Shapes                         |
|:--------------------------------------------|:------------------------------------------------------------------------------------------------|:-------------------------------|
| backbone.features.0.0.weight                | backbone.features.0.0.weight                                                                    | (16, 3, 3, 3)                  |
| backbone.features.0.1.*                     | backbone.features.0.1.{bias,num_batches_tracked,running_mean,running_var,weight}                | (16,) () (16,) (16,) (16,)     |
| backbone.features.1.block.0.0.weight        | backbone.features.1.block.0.0.weight                                                            | (16, 1, 3, 3)                  |
| backbone.features.1.block.0.1.*             | backbone.features.1.block.0.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (16,) () (16,) (16,) (16,)     |
| backbone.features.1.block.1.fc1.*           | backbone.features.1.block.1.fc1.{bias,weight}                                                   | (8,) (8,16,1,1)                |
| backbone.features.1.block.1.fc2.*           | backbone.features.1.block.1.fc2.{bias,weight}                                                   | (16,) (16,8,1,1)               |
| backbone.features.1.block.2.0.weight        | backbone.features.1.block.2.0.weight                                                            | (16, 16, 1, 1)                 |
| backbone.features.1.block.2.1.*             | backbone.features.1.block.2.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (16,) () (16,) (16,) (16,)     |
| backbone.features.10.block.0.0.weight       | backbone.features.10.block.0.0.weight                                                           | (576, 96, 1, 1)                |
| backbone.features.10.block.0.1.*            | backbone.features.10.block.0.1.{bias,num_batches_tracked,running_mean,running_var,weight}       | (576,) () (576,) (576,) (576,) |
| backbone.features.10.block.1.0.weight       | backbone.features.10.block.1.0.weight                                                           | (576, 1, 5, 5)                 |
| backbone.features.10.block.1.1.*            | backbone.features.10.block.1.1.{bias,num_batches_tracked,running_mean,running_var,weight}       | (576,) () (576,) (576,) (576,) |
| backbone.features.10.block.2.fc1.*          | backbone.features.10.block.2.fc1.{bias,weight}                                                  | (144,) (144,576,1,1)           |
| backbone.features.10.block.2.fc2.*          | backbone.features.10.block.2.fc2.{bias,weight}                                                  | (576,) (576,144,1,1)           |
| backbone.features.10.block.3.0.weight       | backbone.features.10.block.3.0.weight                                                           | (96, 576, 1, 1)                |
| backbone.features.10.block.3.1.*            | backbone.features.10.block.3.1.{bias,num_batches_tracked,running_mean,running_var,weight}       | (96,) () (96,) (96,) (96,)     |
| backbone.features.11.block.0.0.weight       | backbone.features.11.block.0.0.weight                                                           | (576, 96, 1, 1)                |
| backbone.features.11.block.0.1.*            | backbone.features.11.block.0.1.{bias,num_batches_tracked,running_mean,running_var,weight}       | (576,) () (576,) (576,) (576,) |
| backbone.features.11.block.1.0.weight       | backbone.features.11.block.1.0.weight                                                           | (576, 1, 5, 5)                 |
| backbone.features.11.block.1.1.*            | backbone.features.11.block.1.1.{bias,num_batches_tracked,running_mean,running_var,weight}       | (576,) () (576,) (576,) (576,) |
| backbone.features.11.block.2.fc1.*          | backbone.features.11.block.2.fc1.{bias,weight}                                                  | (144,) (144,576,1,1)           |
| backbone.features.11.block.2.fc2.*          | backbone.features.11.block.2.fc2.{bias,weight}                                                  | (576,) (576,144,1,1)           |
| backbone.features.11.block.3.0.weight       | backbone.features.11.block.3.0.weight                                                           | (96, 576, 1, 1)                |
| backbone.features.11.block.3.1.*            | backbone.features.11.block.3.1.{bias,num_batches_tracked,running_mean,running_var,weight}       | (96,) () (96,) (96,) (96,)     |
| backbone.features.12.0.weight               | backbone.features.12.0.weight                                                                   | (576, 96, 1, 1)                |
| backbone.features.12.1.*                    | backbone.features.12.1.{bias,num_batches_tracked,running_mean,running_var,weight}               | (576,) () (576,) (576,) (576,) |
| backbone.features.2.block.0.0.weight        | backbone.features.2.block.0.0.weight                                                            | (72, 16, 1, 1)                 |
| backbone.features.2.block.0.1.*             | backbone.features.2.block.0.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (72,) () (72,) (72,) (72,)     |
| backbone.features.2.block.1.0.weight        | backbone.features.2.block.1.0.weight                                                            | (72, 1, 3, 3)                  |
| backbone.features.2.block.1.1.*             | backbone.features.2.block.1.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (72,) () (72,) (72,) (72,)     |
| backbone.features.2.block.2.0.weight        | backbone.features.2.block.2.0.weight                                                            | (24, 72, 1, 1)                 |
| backbone.features.2.block.2.1.*             | backbone.features.2.block.2.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (24,) () (24,) (24,) (24,)     |
| backbone.features.3.block.0.0.weight        | backbone.features.3.block.0.0.weight                                                            | (88, 24, 1, 1)                 |
| backbone.features.3.block.0.1.*             | backbone.features.3.block.0.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (88,) () (88,) (88,) (88,)     |
| backbone.features.3.block.1.0.weight        | backbone.features.3.block.1.0.weight                                                            | (88, 1, 3, 3)                  |
| backbone.features.3.block.1.1.*             | backbone.features.3.block.1.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (88,) () (88,) (88,) (88,)     |
| backbone.features.3.block.2.0.weight        | backbone.features.3.block.2.0.weight                                                            | (24, 88, 1, 1)                 |
| backbone.features.3.block.2.1.*             | backbone.features.3.block.2.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (24,) () (24,) (24,) (24,)     |
| backbone.features.4.block.0.0.weight        | backbone.features.4.block.0.0.weight                                                            | (96, 24, 1, 1)                 |
| backbone.features.4.block.0.1.*             | backbone.features.4.block.0.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (96,) () (96,) (96,) (96,)     |
| backbone.features.4.block.1.0.weight        | backbone.features.4.block.1.0.weight                                                            | (96, 1, 5, 5)                  |
| backbone.features.4.block.1.1.*             | backbone.features.4.block.1.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (96,) () (96,) (96,) (96,)     |
| backbone.features.4.block.2.fc1.*           | backbone.features.4.block.2.fc1.{bias,weight}                                                   | (24,) (24,96,1,1)              |
| backbone.features.4.block.2.fc2.*           | backbone.features.4.block.2.fc2.{bias,weight}                                                   | (96,) (96,24,1,1)              |
| backbone.features.4.block.3.0.weight        | backbone.features.4.block.3.0.weight                                                            | (40, 96, 1, 1)                 |
| backbone.features.4.block.3.1.*             | backbone.features.4.block.3.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (40,) () (40,) (40,) (40,)     |
| backbone.features.5.block.0.0.weight        | backbone.features.5.block.0.0.weight                                                            | (240, 40, 1, 1)                |
| backbone.features.5.block.0.1.*             | backbone.features.5.block.0.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (240,) () (240,) (240,) (240,) |
| backbone.features.5.block.1.0.weight        | backbone.features.5.block.1.0.weight                                                            | (240, 1, 5, 5)                 |
| backbone.features.5.block.1.1.*             | backbone.features.5.block.1.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (240,) () (240,) (240,) (240,) |
| backbone.features.5.block.2.fc1.*           | backbone.features.5.block.2.fc1.{bias,weight}                                                   | (64,) (64,240,1,1)             |
| backbone.features.5.block.2.fc2.*           | backbone.features.5.block.2.fc2.{bias,weight}                                                   | (240,) (240,64,1,1)            |
| backbone.features.5.block.3.0.weight        | backbone.features.5.block.3.0.weight                                                            | (40, 240, 1, 1)                |
| backbone.features.5.block.3.1.*             | backbone.features.5.block.3.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (40,) () (40,) (40,) (40,)     |
| backbone.features.6.block.0.0.weight        | backbone.features.6.block.0.0.weight                                                            | (240, 40, 1, 1)                |
| backbone.features.6.block.0.1.*             | backbone.features.6.block.0.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (240,) () (240,) (240,) (240,) |
| backbone.features.6.block.1.0.weight        | backbone.features.6.block.1.0.weight                                                            | (240, 1, 5, 5)                 |
| backbone.features.6.block.1.1.*             | backbone.features.6.block.1.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (240,) () (240,) (240,) (240,) |
| backbone.features.6.block.2.fc1.*           | backbone.features.6.block.2.fc1.{bias,weight}                                                   | (64,) (64,240,1,1)             |
| backbone.features.6.block.2.fc2.*           | backbone.features.6.block.2.fc2.{bias,weight}                                                   | (240,) (240,64,1,1)            |
| backbone.features.6.block.3.0.weight        | backbone.features.6.block.3.0.weight                                                            | (40, 240, 1, 1)                |
| backbone.features.6.block.3.1.*             | backbone.features.6.block.3.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (40,) () (40,) (40,) (40,)     |
| backbone.features.7.block.0.0.weight        | backbone.features.7.block.0.0.weight                                                            | (120, 40, 1, 1)                |
| backbone.features.7.block.0.1.*             | backbone.features.7.block.0.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (120,) () (120,) (120,) (120,) |
| backbone.features.7.block.1.0.weight        | backbone.features.7.block.1.0.weight                                                            | (120, 1, 5, 5)                 |
| backbone.features.7.block.1.1.*             | backbone.features.7.block.1.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (120,) () (120,) (120,) (120,) |
| backbone.features.7.block.2.fc1.*           | backbone.features.7.block.2.fc1.{bias,weight}                                                   | (32,) (32,120,1,1)             |
| backbone.features.7.block.2.fc2.*           | backbone.features.7.block.2.fc2.{bias,weight}                                                   | (120,) (120,32,1,1)            |
| backbone.features.7.block.3.0.weight        | backbone.features.7.block.3.0.weight                                                            | (48, 120, 1, 1)                |
| backbone.features.7.block.3.1.*             | backbone.features.7.block.3.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (48,) () (48,) (48,) (48,)     |
| backbone.features.8.block.0.0.weight        | backbone.features.8.block.0.0.weight                                                            | (144, 48, 1, 1)                |
| backbone.features.8.block.0.1.*             | backbone.features.8.block.0.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (144,) () (144,) (144,) (144,) |
| backbone.features.8.block.1.0.weight        | backbone.features.8.block.1.0.weight                                                            | (144, 1, 5, 5)                 |
| backbone.features.8.block.1.1.*             | backbone.features.8.block.1.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (144,) () (144,) (144,) (144,) |
| backbone.features.8.block.2.fc1.*           | backbone.features.8.block.2.fc1.{bias,weight}                                                   | (40,) (40,144,1,1)             |
| backbone.features.8.block.2.fc2.*           | backbone.features.8.block.2.fc2.{bias,weight}                                                   | (144,) (144,40,1,1)            |
| backbone.features.8.block.3.0.weight        | backbone.features.8.block.3.0.weight                                                            | (48, 144, 1, 1)                |
| backbone.features.8.block.3.1.*             | backbone.features.8.block.3.1.{bias,num_batches_tracked,running_mean,running_var,weight}        | (48,) () (48,) (48,) (48,)     |
| backbone.features.9.block.0.0.weight        | backbone.features.9.block.0.0.weight                                                            | (288, 48, 1, 1)                |

I get it, but I don't what print this out, how to disable it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovements or good new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions