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

IndexError: index 99 is out of bounds for axis 0 with size 35 #33

Open
abdoelsayed2016 opened this issue Apr 17, 2023 · 0 comments
Open

Comments

@abdoelsayed2016
Copy link

Hi

I create a custom index and finished all steps but when I test it i faced this error

 File "/DensePhrases/densephrases/index.py", line 507, in search
    outs = self.search_phrase(
  File "/DensePhrases/densephrases/index.py", line 428, in search_phrase
    out = [{
  File "/DensePhrases/densephrases/index.py", line 431, in <listcomp>
    'end_pos': (groups_all[doc_idx]['word2char_end'][groups_all[doc_idx]['f2o_start'][end_idx]].item()
IndexError: index 99 is out of bounds for axis 0 with size 35
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