RegNet-Search-PyTorch icon indicating copy to clipboard operation
RegNet-Search-PyTorch copied to clipboard

About some warnings

Open suzhenghang opened this issue 4 years ago • 1 comments

I got the fllowing logs after running: python test_flops.py --config-file configs/RegNetX-4.0GF.ini,i wonder whether these warnings are normal?

[INFO] Register count_convNd() for <class 'torch.nn.modules.conv.Conv2d'>. [INFO] Register count_bn() for <class 'torch.nn.modules.batchnorm.BatchNorm2d'>. [INFO] Register zero_ops() for <class 'torch.nn.modules.activation.ReLU'>. [WARN] Cannot find rule for <class 'arch.regnet.ConvBnAct'>. Treat it as zero Macs and zero Params. [WARN] Cannot find rule for <class 'arch.regnet.Bottleneck'>. Treat it as zero Macs and zero Params. [WARN] Cannot find rule for <class 'torch.nn.modules.container.Sequential'>. Treat it as zero Macs and zero Params. [WARN] Cannot find rule for <class 'arch.regnet.Stage'>. Treat it as zero Macs and zero Params. [WARN] Cannot find rule for <class 'arch.regnet.GlobalAvgPool2d'>. Treat it as zero Macs and zero Params. [INFO] Register count_linear() for <class 'torch.nn.modules.linear.Linear'>. [WARN] Cannot find rule for <class 'arch.regnet.RegNet'>. Treat it as zero Macs and zero Params. macs: 3.989G, params: 22.118M

suzhenghang avatar Aug 21 '20 09:08 suzhenghang

I see the problem too. Maybe it's normal. It doesnot matter

HardyC-1021 avatar Feb 03 '22 03:02 HardyC-1021