Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dear friends, what is the core difference between the code of senet154 you published and the code of the original link you used to refer to? Is the pytorch version and usage of the original linked code the same as yours? Is there anything wrong with the original linked code #3

Open
xianglei3 opened this issue Jan 24, 2020 · 0 comments

Comments

@xianglei3
Copy link

xianglei3 commented Jan 24, 2020

You mentioned that the original link is
https://github.com/Cadene/pretrained-models.pytorch/blob/master/pretrainedmodels/models/senet.py
I would like to know where your core improvement points are. I would like to thank you very much and look forward to your reply

In addition, when I used the original linked code, an error occurred as follows:
File "/home/mmdetection/mmdet/utils/registry.py", line 76, in build_from_cfg
return obj_cls(**args)
File "/home/mmdetection/mmdet/models/backbones/senet.py", line 292, in init
downsample_padding=0
File "/home/mmdetection/mmdet/models/backbones/senet.py", line 331, in _make_layer
if stride != 1 or self.inplanes != planes * block.expansion:
AttributeError: 'str' object has no attribute 'expansion'
Have you ever had this kind of problem, has it anything to do with the version or other factors?

Finally, how to use se ﹣ resnet50? Can I use your code directly or should I refer to the original link you used to refer to when you wrote senet154

@xianglei3 xianglei3 changed the title Dear friends, what is the core difference between the code of senet154 you published and the code of the original link you used to refer to when modifying the code at that time? Is the python version and usage of the original linked code the same as yours? Is there anything wrong with it that needs to be corrected Dear friends, what is the core difference between the code of senet154 you published and the code of the original link you used to refer to? Is the pytorch version and usage of the original linked code the same as yours? Is there anything wrong with it that needs to be corrected Jan 24, 2020
@xianglei3 xianglei3 changed the title Dear friends, what is the core difference between the code of senet154 you published and the code of the original link you used to refer to? Is the pytorch version and usage of the original linked code the same as yours? Is there anything wrong with it that needs to be corrected Dear friends, what is the core difference between the code of senet154 you published and the code of the original link you used to refer to? Is the pytorch version and usage of the original linked code the same as yours? Is there anything wrong with the original linked code Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant