-
Notifications
You must be signed in to change notification settings - Fork 1
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
goldretriever.download_golds() fails #57
Comments
It may be safer to use the API:
|
This has been fixed in the pypi version of the retriever Could you try importing the pypi version? |
The error remains:
While doing this I did realize that it was silly to use the --chyron option with the swt predictions so I changed the command
But the error remains. I also replicated the above in the main branch (I failed to mention that all the above was on the 43-swt-eval branch), still the same error. |
Look likes it's still the local retriever
Probably
will change the library to use? |
Duh! Yes, that got rid of the error. What I really do not get is why the current code ever worked. |
closing as fixed. |
Bug Description
When running
timeframe-eval/evaluate.py
for chyrons the following snippets of code are executed:The gold standard URL exists and leads to an html page. The problem is that the code in the goldretriever module seems to assume that the request returns a JSON object:
aapb-evaluations/goldretriever.py
Lines 26 to 30 in bd88a37
I may make an obvious mistake since it seems that this should have worked for others.
Reproduction steps
Install requirements for timeframe evaluation:
Run the script:
You will be treated to this error
Expected behavior
It should not break
Log output
The text was updated successfully, but these errors were encountered: