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

when I run download_lexicon,I got error. #14

Open
zhangrc12138 opened this issue Aug 20, 2023 · 0 comments
Open

when I run download_lexicon,I got error. #14

zhangrc12138 opened this issue Aug 20, 2023 · 0 comments

Comments

@zhangrc12138
Copy link

......
758it [04:53, 3.22it/s]
759it [04:54, 2.25it/s]
760it [04:55, 2.40it/s]
4% 761/18222 [05:22<2:03:12, 2.36it/s]
761it [05:33, 2.28it/s]
Traceback (most recent call last):
File "/usr/local/bin/download_lexicon", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/spoken_to_signed/download_lexicon.py", line 120, in main
add_data(data, args.directory)
File "/usr/local/lib/python3.10/dist-packages/spoken_to_signed/download_lexicon.py", line 106, in add_data
for row in tqdm(data):
File "/usr/local/lib/python3.10/dist-packages/tqdm/std.py", line 1182, in iter
for obj in iterable:
File "/usr/local/lib/python3.10/dist-packages/spoken_to_signed/download_lexicon.py", line 72, in load_signsuisse
'end': str(len(pose_body.data) / fps), # pose duration
ZeroDivisionError: division by zero

How would I solve it?
And Every error occurs after this sentence at 760it [04:55, 2.40it/s].

MuhammadAasharibNawshad pushed a commit to MuhammadAasharibNawshad/spoken-to-signed-translation that referenced this issue Feb 5, 2024
AmitMY added a commit that referenced this issue Feb 5, 2024
fix(download_lexicon): added check for divided by zero error issue #14
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