CGNet: A Light-weight Context Guided Network for Semantic Segmentation [IEEE Transactions on Image Processing 2020]
262
stars
51
forks
source link
I think the codes about flops dosen't compute the AdaptiveAvgPool2d 's ops! #17
Closed
monk42 closed 5 years ago
if isinstance(net, torch.nn.MaxPool2d) or isinstance(net, torch.nn.AvgPool2d): net.register_forward_hook(pooling_hook)