hj@lab:~/hdd/hdd2000/add/model_compression$ python test.py --config config/train/cifar100/densenet_small.py --finetune my_work/models/LTH/171_62_87.pth.tar
2021-03-19 01:41:03,446 - config_validator.py:44 - INFO - [Config] SEED: 777 AUG_TRAIN: randaugment_train_cifar100 AUG_TRAIN_PARAMS: {'n_select': 2, 'level': None} AUG_TEST: simple_augment_test_cifar100 CUTMIX: {'beta': 1, 'prob': 0.5} DATASET: CIFAR100 MODEL_NAME: densenet MODEL_PARAMS: {'num_classes': 100, 'inplanes': 24, 'growthRate': 12, 'compressionRate': 2, 'block_configs': (16, 16, 16)} CRITERION: CrossEntropy CRITERION_PARAMS: {'num_classes': 100, 'label_smoothing': 0.1} LR_SCHEDULER: WarmupCosineLR LR_SCHEDULER_PARAMS: {'warmup_epochs': 10, 'start_lr': 0.001, 'min_lr': 1e-05, 'n_rewinding': 1} BATCH_SIZE: 64 LR: 0.1 MOMENTUM: 0.9 WEIGHT_DECAY: 0.0001 EPOCHS: 300 N_WORKERS: 20
Traceback (most recent call last):
File "test.py", line 65, in <module>
half=args.half,
File "/hdd_ext/hdd2000/add/model_compression/src/runners/trainer.py", line 62, in __init__
self.load_model(finetune)
File "/hdd_ext/hdd2000/add/model_compression/src/runners/trainer.py", line 316, in load_model
self.model, checkpt["state_dict"], with_mask=with_mask
File "/hdd_ext/hdd2000/add/model_compression/src/models/utils.py", line 42, in initialize_params
model.load_state_dict(model_dict)
File "/home/hj/anaconda3/envs/ML/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1224, in load_state_dict
self.__class__.__name__, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for DenseNet:
size mismatch for stem.bn.weight: copying a param with shape torch.Size([24, 3, 3, 3]) from checkpoint, the shape in current model is torch.Size([24]).
size mismatch for dense_blocks.0.layers.0.conv1.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48, 24, 1, 1]).
size mismatch for dense_blocks.0.layers.0.conv1.bn.weight: copying a param with shape torch.Size([24]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.0.conv1.bn.bias: copying a param with shape torch.Size([24]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.0.conv1.bn.running_mean: copying a param with shape torch.Size([48, 24, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.0.conv1.bn.running_var: copying a param with shape torch.Size([48, 24, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.0.conv2.conv.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.0.layers.0.conv2.bn.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.0.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.0.conv2.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.0.conv2.bn.running_var: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.1.conv1.conv.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48, 36, 1, 1]).
size mismatch for dense_blocks.0.layers.1.conv1.bn.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.1.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.1.conv1.bn.running_mean: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.1.conv1.bn.running_var: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.1.conv2.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.0.layers.1.conv2.bn.running_mean: copying a param with shape torch.Size([48, 36, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.1.conv2.bn.running_var: copying a param with shape torch.Size([48, 36, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.2.conv1.conv.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([48, 48, 1, 1]).
size mismatch for dense_blocks.0.layers.2.conv1.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.2.conv2.bn.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.3.conv1.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48, 60, 1, 1]).
size mismatch for dense_blocks.0.layers.3.conv1.bn.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.3.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.3.conv1.bn.running_mean: copying a param with shape torch.Size([48, 48, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.3.conv1.bn.running_var: copying a param with shape torch.Size([48, 48, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.3.conv2.conv.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.0.layers.3.conv2.bn.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.3.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.3.conv2.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.3.conv2.bn.running_var: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.4.conv1.conv.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48, 72, 1, 1]).
size mismatch for dense_blocks.0.layers.4.conv1.bn.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.4.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.4.conv1.bn.running_mean: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.4.conv1.bn.running_var: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.4.conv2.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.0.layers.4.conv2.bn.running_mean: copying a param with shape torch.Size([48, 60, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.4.conv2.bn.running_var: copying a param with shape torch.Size([48, 60, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.5.conv1.conv.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([48, 84, 1, 1]).
size mismatch for dense_blocks.0.layers.5.conv1.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.5.conv2.bn.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.6.conv1.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48, 96, 1, 1]).
size mismatch for dense_blocks.0.layers.6.conv1.bn.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.6.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.6.conv1.bn.running_mean: copying a param with shape torch.Size([48, 72, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.6.conv1.bn.running_var: copying a param with shape torch.Size([48, 72, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.6.conv2.conv.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.0.layers.6.conv2.bn.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.6.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.6.conv2.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.6.conv2.bn.running_var: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.7.conv1.conv.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48, 108, 1, 1]).
size mismatch for dense_blocks.0.layers.7.conv1.bn.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.7.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.7.conv1.bn.running_mean: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.7.conv1.bn.running_var: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.7.conv2.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.0.layers.7.conv2.bn.running_mean: copying a param with shape torch.Size([48, 84, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.7.conv2.bn.running_var: copying a param with shape torch.Size([48, 84, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.8.conv1.conv.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([48, 120, 1, 1]).
size mismatch for dense_blocks.0.layers.8.conv1.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.8.conv2.bn.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.9.conv1.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48, 132, 1, 1]).
size mismatch for dense_blocks.0.layers.9.conv1.bn.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.9.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.9.conv1.bn.running_mean: copying a param with shape torch.Size([48, 96, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.9.conv1.bn.running_var: copying a param with shape torch.Size([48, 96, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.9.conv2.conv.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.0.layers.9.conv2.bn.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.9.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.9.conv2.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.9.conv2.bn.running_var: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.10.conv1.conv.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48, 144, 1, 1]).
size mismatch for dense_blocks.0.layers.10.conv1.bn.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.10.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.10.conv1.bn.running_mean: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.10.conv1.bn.running_var: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.10.conv2.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.0.layers.10.conv2.bn.running_mean: copying a param with shape torch.Size([48, 108, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.10.conv2.bn.running_var: copying a param with shape torch.Size([48, 108, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.11.conv1.conv.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([48, 156, 1, 1]).
size mismatch for dense_blocks.0.layers.11.conv1.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.11.conv2.bn.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.12.conv1.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48, 168, 1, 1]).
size mismatch for dense_blocks.0.layers.12.conv1.bn.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.12.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.12.conv1.bn.running_mean: copying a param with shape torch.Size([48, 120, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.12.conv1.bn.running_var: copying a param with shape torch.Size([48, 120, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.12.conv2.conv.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.0.layers.12.conv2.bn.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.12.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.12.conv2.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.12.conv2.bn.running_var: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.13.conv1.conv.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48, 180, 1, 1]).
size mismatch for dense_blocks.0.layers.13.conv1.bn.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.13.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.13.conv1.bn.running_mean: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.13.conv1.bn.running_var: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.13.conv2.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.0.layers.13.conv2.bn.running_mean: copying a param with shape torch.Size([48, 132, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.13.conv2.bn.running_var: copying a param with shape torch.Size([48, 132, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.14.conv1.conv.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([48, 192, 1, 1]).
size mismatch for dense_blocks.0.layers.14.conv1.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.14.conv2.bn.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.15.conv1.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48, 204, 1, 1]).
size mismatch for dense_blocks.0.layers.15.conv1.bn.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.15.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.15.conv1.bn.running_mean: copying a param with shape torch.Size([48, 144, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.15.conv1.bn.running_var: copying a param with shape torch.Size([48, 144, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.0.layers.15.conv2.conv.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.0.layers.15.conv2.bn.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.15.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.15.conv2.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.0.layers.15.conv2.bn.running_var: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.1.conv.conv.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([108, 216, 1, 1]).
size mismatch for dense_blocks.1.conv.bn.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([108]).
size mismatch for dense_blocks.1.conv.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([108]).
size mismatch for dense_blocks.1.conv.bn.running_mean: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([108]).
size mismatch for dense_blocks.1.conv.bn.running_var: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([108]).
size mismatch for dense_blocks.2.layers.0.conv1.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48, 108, 1, 1]).
size mismatch for dense_blocks.2.layers.0.conv1.bn.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.0.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.0.conv1.bn.running_mean: copying a param with shape torch.Size([48, 156, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.0.conv1.bn.running_var: copying a param with shape torch.Size([48, 156, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.0.conv2.conv.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.2.layers.0.conv2.bn.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.0.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.0.conv2.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.0.conv2.bn.running_var: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.1.conv1.conv.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48, 120, 1, 1]).
size mismatch for dense_blocks.2.layers.1.conv1.bn.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.1.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.1.conv1.bn.running_mean: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.1.conv1.bn.running_var: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.1.conv2.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.2.layers.1.conv2.bn.running_mean: copying a param with shape torch.Size([48, 168, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.1.conv2.bn.running_var: copying a param with shape torch.Size([48, 168, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.2.conv1.conv.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([48, 132, 1, 1]).
size mismatch for dense_blocks.2.layers.2.conv1.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.2.conv2.bn.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.3.conv1.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48, 144, 1, 1]).
size mismatch for dense_blocks.2.layers.3.conv1.bn.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.3.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.3.conv1.bn.running_mean: copying a param with shape torch.Size([48, 180, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.3.conv1.bn.running_var: copying a param with shape torch.Size([48, 180, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.3.conv2.conv.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.2.layers.3.conv2.bn.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.3.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.3.conv2.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.3.conv2.bn.running_var: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.4.conv1.conv.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48, 156, 1, 1]).
size mismatch for dense_blocks.2.layers.4.conv1.bn.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.4.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.4.conv1.bn.running_mean: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.4.conv1.bn.running_var: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.4.conv2.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.2.layers.4.conv2.bn.running_mean: copying a param with shape torch.Size([48, 192, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.4.conv2.bn.running_var: copying a param with shape torch.Size([48, 192, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.5.conv1.conv.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([48, 168, 1, 1]).
size mismatch for dense_blocks.2.layers.5.conv1.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.5.conv2.bn.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.6.conv1.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48, 180, 1, 1]).
size mismatch for dense_blocks.2.layers.6.conv1.bn.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.6.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.6.conv1.bn.running_mean: copying a param with shape torch.Size([48, 204, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.6.conv1.bn.running_var: copying a param with shape torch.Size([48, 204, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.6.conv2.conv.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.2.layers.6.conv2.bn.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.6.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.6.conv2.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.6.conv2.bn.running_var: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.7.conv1.conv.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48, 192, 1, 1]).
size mismatch for dense_blocks.2.layers.7.conv1.bn.weight: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.7.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.7.conv1.bn.running_mean: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.7.conv1.bn.running_var: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.7.conv2.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.2.layers.7.conv2.bn.running_mean: copying a param with shape torch.Size([108, 216, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.7.conv2.bn.running_var: copying a param with shape torch.Size([108, 216, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.8.conv1.conv.weight: copying a param with shape torch.Size([108]) from checkpoint, the shape in current model is torch.Size([48, 204, 1, 1]).
size mismatch for dense_blocks.2.layers.8.conv1.bn.weight: copying a param with shape torch.Size([108]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.8.conv1.bn.bias: copying a param with shape torch.Size([108]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.8.conv1.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.8.conv1.bn.running_var: copying a param with shape torch.Size([108]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.8.conv2.conv.weight: copying a param with shape torch.Size([48, 108, 1, 1]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.2.layers.8.conv2.bn.weight: copying a param with shape torch.Size([48, 108, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.8.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.8.conv2.bn.running_mean: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.8.conv2.bn.running_var: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.9.conv1.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48, 216, 1, 1]).
size mismatch for dense_blocks.2.layers.9.conv1.bn.running_mean: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.9.conv1.bn.running_var: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.9.conv2.conv.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.2.layers.9.conv2.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.10.conv1.conv.weight: copying a param with shape torch.Size([48, 120, 1, 1]) from checkpoint, the shape in current model is torch.Size([48, 228, 1, 1]).
size mismatch for dense_blocks.2.layers.10.conv1.bn.weight: copying a param with shape torch.Size([48, 120, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.10.conv2.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.2.layers.10.conv2.bn.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.10.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.10.conv2.bn.running_mean: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.10.conv2.bn.running_var: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.11.conv1.conv.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48, 240, 1, 1]).
size mismatch for dense_blocks.2.layers.11.conv1.bn.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.11.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.11.conv1.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.11.conv1.bn.running_var: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.11.conv2.conv.weight: copying a param with shape torch.Size([48, 132, 1, 1]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.2.layers.11.conv2.bn.weight: copying a param with shape torch.Size([48, 132, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.11.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.11.conv2.bn.running_mean: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.11.conv2.bn.running_var: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.12.conv1.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48, 252, 1, 1]).
size mismatch for dense_blocks.2.layers.12.conv1.bn.running_mean: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.12.conv1.bn.running_var: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.12.conv2.conv.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.2.layers.12.conv2.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.13.conv1.conv.weight: copying a param with shape torch.Size([48, 144, 1, 1]) from checkpoint, the shape in current model is torch.Size([48, 264, 1, 1]).
size mismatch for dense_blocks.2.layers.13.conv1.bn.weight: copying a param with shape torch.Size([48, 144, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.13.conv2.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.2.layers.13.conv2.bn.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.13.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.13.conv2.bn.running_mean: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.13.conv2.bn.running_var: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.14.conv1.conv.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48, 276, 1, 1]).
size mismatch for dense_blocks.2.layers.14.conv1.bn.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.14.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.14.conv1.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.14.conv1.bn.running_var: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.14.conv2.conv.weight: copying a param with shape torch.Size([48, 156, 1, 1]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.2.layers.14.conv2.bn.weight: copying a param with shape torch.Size([48, 156, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.14.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.14.conv2.bn.running_mean: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.14.conv2.bn.running_var: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.2.layers.15.conv1.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48, 288, 1, 1]).
size mismatch for dense_blocks.2.layers.15.conv1.bn.running_mean: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.15.conv1.bn.running_var: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.2.layers.15.conv2.conv.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.2.layers.15.conv2.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.3.conv.conv.weight: copying a param with shape torch.Size([48, 168, 1, 1]) from checkpoint, the shape in current model is torch.Size([150, 300, 1, 1]).
size mismatch for dense_blocks.3.conv.bn.weight: copying a param with shape torch.Size([48, 168, 1, 1]) from checkpoint, the shape in current model is torch.Size([150]).
size mismatch for dense_blocks.3.conv.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([150]).
size mismatch for dense_blocks.3.conv.bn.running_mean: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([150]).
size mismatch for dense_blocks.3.conv.bn.running_var: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([150]).
size mismatch for dense_blocks.4.layers.0.conv1.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48, 150, 1, 1]).
size mismatch for dense_blocks.4.layers.0.conv1.bn.running_mean: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.0.conv1.bn.running_var: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.0.conv2.conv.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.4.layers.0.conv2.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.1.conv1.conv.weight: copying a param with shape torch.Size([48, 180, 1, 1]) from checkpoint, the shape in current model is torch.Size([48, 162, 1, 1]).
size mismatch for dense_blocks.4.layers.1.conv1.bn.weight: copying a param with shape torch.Size([48, 180, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.1.conv2.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.4.layers.1.conv2.bn.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.1.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.1.conv2.bn.running_mean: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.1.conv2.bn.running_var: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.2.conv1.conv.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48, 174, 1, 1]).
size mismatch for dense_blocks.4.layers.2.conv1.bn.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.2.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.2.conv1.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.2.conv1.bn.running_var: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.2.conv2.conv.weight: copying a param with shape torch.Size([48, 192, 1, 1]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.4.layers.2.conv2.bn.weight: copying a param with shape torch.Size([48, 192, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.2.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.2.conv2.bn.running_mean: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.2.conv2.bn.running_var: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.3.conv1.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48, 186, 1, 1]).
size mismatch for dense_blocks.4.layers.3.conv1.bn.running_mean: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.3.conv1.bn.running_var: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.3.conv2.conv.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.4.layers.3.conv2.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.4.conv1.conv.weight: copying a param with shape torch.Size([48, 204, 1, 1]) from checkpoint, the shape in current model is torch.Size([48, 198, 1, 1]).
size mismatch for dense_blocks.4.layers.4.conv1.bn.weight: copying a param with shape torch.Size([48, 204, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.4.conv2.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.4.layers.4.conv2.bn.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.4.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.4.conv2.bn.running_mean: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.4.conv2.bn.running_var: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.5.conv1.conv.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48, 210, 1, 1]).
size mismatch for dense_blocks.4.layers.5.conv1.bn.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.5.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.5.conv1.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.5.conv1.bn.running_var: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.5.conv2.conv.weight: copying a param with shape torch.Size([48, 216, 1, 1]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.4.layers.5.conv2.bn.weight: copying a param with shape torch.Size([48, 216, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.5.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.5.conv2.bn.running_mean: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.5.conv2.bn.running_var: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.6.conv1.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48, 222, 1, 1]).
size mismatch for dense_blocks.4.layers.6.conv1.bn.running_mean: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.6.conv1.bn.running_var: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.6.conv2.conv.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.4.layers.6.conv2.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.7.conv1.conv.weight: copying a param with shape torch.Size([48, 228, 1, 1]) from checkpoint, the shape in current model is torch.Size([48, 234, 1, 1]).
size mismatch for dense_blocks.4.layers.7.conv1.bn.weight: copying a param with shape torch.Size([48, 228, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.7.conv2.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.4.layers.7.conv2.bn.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.7.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.7.conv2.bn.running_mean: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.7.conv2.bn.running_var: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.8.conv1.conv.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48, 246, 1, 1]).
size mismatch for dense_blocks.4.layers.8.conv1.bn.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.8.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.8.conv1.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.8.conv1.bn.running_var: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.8.conv2.conv.weight: copying a param with shape torch.Size([48, 240, 1, 1]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.4.layers.8.conv2.bn.weight: copying a param with shape torch.Size([48, 240, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.8.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.8.conv2.bn.running_mean: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.8.conv2.bn.running_var: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.9.conv1.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48, 258, 1, 1]).
size mismatch for dense_blocks.4.layers.9.conv1.bn.running_mean: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.9.conv1.bn.running_var: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.9.conv2.conv.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.4.layers.9.conv2.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.10.conv1.conv.weight: copying a param with shape torch.Size([48, 252, 1, 1]) from checkpoint, the shape in current model is torch.Size([48, 270, 1, 1]).
size mismatch for dense_blocks.4.layers.10.conv1.bn.weight: copying a param with shape torch.Size([48, 252, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.10.conv2.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.4.layers.10.conv2.bn.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.10.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.10.conv2.bn.running_mean: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.10.conv2.bn.running_var: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.11.conv1.conv.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48, 282, 1, 1]).
size mismatch for dense_blocks.4.layers.11.conv1.bn.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.11.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.11.conv1.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.11.conv1.bn.running_var: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.11.conv2.conv.weight: copying a param with shape torch.Size([48, 264, 1, 1]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.4.layers.11.conv2.bn.weight: copying a param with shape torch.Size([48, 264, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.11.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.11.conv2.bn.running_mean: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.11.conv2.bn.running_var: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.12.conv1.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48, 294, 1, 1]).
size mismatch for dense_blocks.4.layers.12.conv1.bn.running_mean: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.12.conv1.bn.running_var: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.12.conv2.conv.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.4.layers.12.conv2.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.13.conv1.conv.weight: copying a param with shape torch.Size([48, 276, 1, 1]) from checkpoint, the shape in current model is torch.Size([48, 306, 1, 1]).
size mismatch for dense_blocks.4.layers.13.conv1.bn.weight: copying a param with shape torch.Size([48, 276, 1, 1]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.13.conv2.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.4.layers.13.conv2.bn.weight: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.13.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.13.conv2.bn.running_mean: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.13.conv2.bn.running_var: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.14.conv1.conv.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48, 318, 1, 1]).
size mismatch for dense_blocks.4.layers.14.conv1.bn.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.14.conv1.bn.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.14.conv1.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.14.conv1.bn.running_var: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.14.conv2.conv.weight: copying a param with shape torch.Size([48, 288, 1, 1]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.4.layers.14.conv2.bn.weight: copying a param with shape torch.Size([48, 288, 1, 1]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.14.conv2.bn.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.14.conv2.bn.running_mean: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.14.conv2.bn.running_var: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for dense_blocks.4.layers.15.conv1.conv.weight: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([48, 330, 1, 1]).
size mismatch for dense_blocks.4.layers.15.conv1.bn.running_mean: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.15.conv1.bn.running_var: copying a param with shape torch.Size([12, 48, 3, 3]) from checkpoint, the shape in current model is torch.Size([48]).
size mismatch for dense_blocks.4.layers.15.conv2.conv.weight: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([12, 48, 3, 3]).
size mismatch for dense_blocks.4.layers.15.conv2.bn.running_mean: copying a param with shape torch.Size([]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for fc.weight: copying a param with shape torch.Size([150, 300, 1, 1]) from checkpoint, the shape in current model is torch.Size([100, 342]).
size mismatch for fc.bias: copying a param with shape torch.Size([150, 300, 1, 1]) from checkpoint, the shape in current model is torch.Size([100]).
모델을 추론시간과 정확도를 테스트 할 수 있는 다른 방법이 존재하나요?
존재한다면 알려주시기 부탁드립니다.
Pruning한 모델의 성능을 검증하고자 src/trainer.py 에 있는 run_one_epoch 메서드를 아래와 같이 수정하였습니다.
그 후 model_compression/ 에 test.py 파일을 만들고 다음과 같이 작성하였습니다.
그 후 다음과 같이 명령어를 입력했는데 아래와 같은 에러가 나옵니다.
모델을 추론시간과 정확도를 테스트 할 수 있는 다른 방법이 존재하나요? 존재한다면 알려주시기 부탁드립니다.