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

Error While running demo script #64

Open
ashishgupta2598 opened this issue Mar 22, 2020 · 7 comments
Open

Error While running demo script #64

ashishgupta2598 opened this issue Mar 22, 2020 · 7 comments

Comments

@ashishgupta2598
Copy link

make: Entering directory '/media/ai/ashish/OCR/mrz_newTest/E2E-MLT/nms'
make: 'adaptor.so' is up to date.
make: Leaving directory '/media/ai/ashish/OCR/mrz_newTest/E2E-MLT/nms'
Traceback (most recent call last):
Command- python3 demo.py -model=e2e-mlt.h5
Error-:

File "/media/ai/ashish/OCR/mrz_newTest/E2E-MLT/net_utils.py", line 30, in load_net
    v.copy_(param)
RuntimeError: The expanded size of the tensor (8400) must match the existing size (7500) at non-singleton dimension 0
Traceback (most recent call last):
  File "/media/ai/ashish/OCR/mrz_newTest/E2E-MLT/net_utils.py", line 30, in load_net
    v.copy_(param)
RuntimeError: The expanded size of the tensor (8400) must match the existing size (7500) at non-singleton dimension 0
e2e-mlt.h5
Using cuda ...
[ WARN:0] global /io/opencv/modules/videoio/src/cap_v4l.cpp (887) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
@duxiangcheng
Copy link

I have met the same problem. Have you solved it?
thanks!

@duxiangcheng
Copy link

@ashishgupta2598 I have met the same problem. Have you solved it?

@MichalBusta
Copy link
Owner

#49

@duxiangcheng
Copy link

@MichalBusta thank you !

@MichalBusta
Copy link
Owner

MichalBusta commented Mar 27, 2020 via email

@ashishgupta2598
Copy link
Author

I have met the same problem. Have you solved it?
thanks!

@duxiangcheng No!! I am still figuring out !!!

@AniketGurav
Copy link

There are 2 pre-trained models 1. e2e-mlt 2. e2e-mlt-rctw
I guess you are using 1st one.
Try the 2nd model mentioned above The link for downloading it is given on the main page.

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

4 participants