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

[BUG] Repeated warnings "Number of requested results 20 is greater than number of elements in index 3, updating n_results = 3" #340

Open
oshoma opened this issue Apr 15, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@oshoma
Copy link
Collaborator

oshoma commented Apr 15, 2024

Describe the bug
When running the Sherpa tutorial I see repeated warnings in my terminal:

"Number of requested results 20 is greater than number of elements in index 3, updating n_results = 3" .

I'm not sure where these are coming from or whether they are benign.

To Reproduce
Steps to reproduce the behavior:

  1. Set up the sherpa tutorial as per the steps in docs/How_To/Tutorials/document_reader.rst

  2. Copy this file as paper.pdf in your tutorial directory
    paper.pdf

  3. Run sherpa PDF reader: python main.py --config agent_config.yml

  4. See the warnings on the command line output

Expected behavior
The tutorial should run without this warning.

@oshoma oshoma added the bug Something isn't working label Apr 15, 2024
@oshoma oshoma mentioned this issue Apr 15, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants