pretrained-models.pytorch
pretrained-models.pytorch copied to clipboard
wrong with senet???
Hello, I have tried to load the senet ,and use the pretrained one ....but the error as below

I don't know what's wrong here.
It is due to pytorch2.7. Unfortunately pretrainedmodels is not totally compatible for now.
It is due to pytorch2.7. Unfortunately pretrainedmodels is not totally compatible for now.
I change the code in definition of SEResNeXtBottleneck(Bottleneck), width = math.floor(planes * (base_width / 64)) * groups ====> width = int(math.floor(planes * (base_width / 64)) * groups)
then it is ok