Cadene / pretrained-models.pytorch

Pretrained ConvNets for pytorch: NASNet, ResNeXt, ResNet, InceptionV4, InceptionResnetV2, Xception, DPN, etc.
BSD 3-Clause "New" or "Revised" License
9.02k stars 1.83k forks source link

The forward contains irrelevant attributes. #225

Open wujunliang00 opened 1 year ago

wujunliang00 commented 1 year ago

https://github.com/Cadene/pretrained-models.pytorch/blob/8aae3d8f1135b6b13fed79c1d431e3449fdbf6e0/pretrainedmodels/models/fbresnet.py#L152

In fbresnet.py,the forward method contains irrelevant attributes. self.conv1_input = x.clone() in forward is not used, What is the function of this attribute?

Fzz123 commented 1 year ago

您的邮件已收到!