We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
(.venv) ub16hp@UB16HP:/ub16_prj/cnn-re-tf$ python distant_supervision.py ===== step 1 ===== [1/4] Downloading wiki articles ... ===== step 2 ===== [1/4] Downloading wiki articles ... ===== step 3 ===== [1/4] Downloading wiki articles ... ===== step 4 ===== [1/4] Downloading wiki articles ... ===== step 5 ===== [1/4] Downloading wiki articles ... ===== step 6 ===== [1/4] Downloading wiki articles ... ===== step 7 ===== [1/4] Downloading wiki articles ... Traceback (most recent call last): File "distant_supervision.py", line 693, in main() File "distant_supervision.py", line 681, in main positive_examples() File "distant_supervision.py", line 452, in positive_examples ret = loop(step, doc_id, limit, entities, relations, counter) File "distant_supervision.py", line 343, in loop docs = download_wiki_articles(doc_id, limit) File "distant_supervision.py", line 73, in download_wiki_articles pages = bs(r, "html.parser").findAll('page') File "/home/ub16hp/ub16_prj/cnn-re-tf/.venv/local/lib/python2.7/site-packages/bs4/init.py", line 246, in init elif len(markup) <= 256 and ( TypeError: object of type 'NoneType' has no len() (.venv) ub16hp@UB16HP:/ub16_prj/cnn-re-tf$
The text was updated successfully, but these errors were encountered:
No branches or pull requests
(.venv) ub16hp@UB16HP:
/ub16_prj/cnn-re-tf$ python distant_supervision.py/ub16_prj/cnn-re-tf$===== step 1 =====
[1/4] Downloading wiki articles ...
===== step 2 =====
[1/4] Downloading wiki articles ...
===== step 3 =====
[1/4] Downloading wiki articles ...
===== step 4 =====
[1/4] Downloading wiki articles ...
===== step 5 =====
[1/4] Downloading wiki articles ...
===== step 6 =====
[1/4] Downloading wiki articles ...
===== step 7 =====
[1/4] Downloading wiki articles ...
Traceback (most recent call last):
File "distant_supervision.py", line 693, in
main()
File "distant_supervision.py", line 681, in main
positive_examples()
File "distant_supervision.py", line 452, in positive_examples
ret = loop(step, doc_id, limit, entities, relations, counter)
File "distant_supervision.py", line 343, in loop
docs = download_wiki_articles(doc_id, limit)
File "distant_supervision.py", line 73, in download_wiki_articles
pages = bs(r, "html.parser").findAll('page')
File "/home/ub16hp/ub16_prj/cnn-re-tf/.venv/local/lib/python2.7/site-packages/bs4/init.py", line 246, in init
elif len(markup) <= 256 and (
TypeError: object of type 'NoneType' has no len()
(.venv) ub16hp@UB16HP:
The text was updated successfully, but these errors were encountered: