facebookresearch / DrQA

Reading Wikipedia to Answer Open-Domain Questions
Other
4.48k stars 898 forks source link

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

Open ayush431 opened 1 year ago

ayush431 commented 1 year ago

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: maskedfill 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.maskedfill(y_mask.data, -float('inf')) /home/ubuntu/DrQA/drqa/reader/layers.py:275: UserWarning: maskedfill 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.maskedfill(x_mask.data, -float('inf')) /home/ubuntu/DrQA/drqa/reader/layers.py:242: UserWarning: maskedfill 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.maskedfill(x_mask.data, -float('inf'))

Leonardo123-ui commented 1 year ago

do you solve this question?