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

python scripts/pipeline/interactive.py keep on running for so long? #282

Open
ayush431 opened this issue Nov 29, 2022 · 1 comment
Open

Comments

@ayush431
Copy link

process('What is question answering?')
11/29/2022 08:31:54 AM: [ Processing 1 queries... ]
11/29/2022 08:31:54 AM: [ Retrieving top 5 docs... ]
11/29/2022 08:31:55 AM: [ Reading 106 paragraphs... ]
/home/ubuntu/DrQA/drqa/reader/layers.py:202: UserWarning: masked_fill_ received a mask with dtype torch.uint8, this behavior is now deprecated,please use a mask with dtype torch.bool instead. (Triggered internally at ../aten/src/ATen/native/TensorAdvancedIndexing.cpp:1646.)
scores.data.masked_fill_(y_mask.data, -float('inf'))
/home/ubuntu/DrQA/drqa/reader/layers.py:275: UserWarning: masked_fill_ received a mask with dtype torch.uint8, this behavior is now deprecated,please use a mask with dtype torch.bool instead. (Triggered internally at ../aten/src/ATen/native/TensorAdvancedIndexing.cpp:1646.)
scores.data.masked_fill_(x_mask.data, -float('inf'))
/home/ubuntu/DrQA/drqa/reader/layers.py:242: UserWarning: masked_fill_ received a mask with dtype torch.uint8, this behavior is now deprecated,please use a mask with dtype torch.bool instead. (Triggered internally at ../aten/src/ATen/native/TensorAdvancedIndexing.cpp:1646.)
xWy.data.masked_fill_(x_mask.data, -float('inf'))

@Leonardo123-ui
Copy link

do you solve this question?

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

2 participants