MichalBusta / E2E-MLT

E2E-MLT - an Unconstrained End-to-End Method for Multi-Language Scene Text
MIT License
291 stars 84 forks source link

I am unable to lead the e2e-mlt model, incompatible tensor sizes. Any help? #49

Closed riaz closed 5 years ago

riaz commented 5 years ago

Traceback (most recent call last): File "/home/rmunshi/E2E-MLT/net_utils.py", line 30, in loadnet v.copy(param) RuntimeError: The size of tensor a (8400) must match the size of tensor b (7500) at non-singleton dimension 0 Traceback (most recent call last): File "/home/rmunshi/E2E-MLT/net_utils.py", line 30, in loadnet v.copy(param) RuntimeError: The size of tensor a (8400) must match the size of tensor b (7500) at non-singleton dimension 0

Gitchenguang commented 5 years ago

may you shold change the number of fileters in model.py line252: self.conv11 = Conv2d(256, 7500, (1, 1), padding=(0,0))

MichalBusta commented 5 years ago

There are 2 models for download:

On Tue, 20 Aug 2019 00:01 Chenguang, notifications@github.com wrote:

may you shold change the number of fileters in model.py line252: self.conv11 = Conv2d(256, 7500, (1, 1), padding=(0,0))

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MichalBusta/E2E-MLT/issues/49?email_source=notifications&email_token=AA7KHMDMNXVPUDQ7ZLW63JTQFNNAVA5CNFSM4INJOU7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4U4ZYI#issuecomment-522833121, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7KHMB7DGBB4357YOAXPS3QFNNAVANCNFSM4INJOU7A .