-
Notifications
You must be signed in to change notification settings - Fork 92
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
How to introduce resnet50 backbone? #37
Comments
Thank you for your praise! I have not tried resnet50 yet( BTW, if you have got better performance, welcome pull request! |
Thanks for your prompt reply. Actually, I have tried to introduce your resnet.py in textnet.py. However, I did not work it out. Here is the detail. the resnet code snippet in textnet.py is as follows
I run it and error happens in 'up1 = self.merge1(C1, up2)', like 'RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 1. Got 256 and 128 in dimension 2' I suppose the reason is that C1 of resnet.py is different that of vgg.py, which leads to error. python resnet.py python vgg.py |
have you solved it ? |
not yet. However, vgg16 in this case still works fine. |
Thanks for your prompt reply. |
@princewang1994 Thanks for your excellent implementation.
I have tried vgg16 backbone. However, I suppose the resnet50 backbone is better than vgg16 in this case. How to support resnet50 backbone in the textnet.py?
Thanks
The text was updated successfully, but these errors were encountered: