TableQA #3501
-
In the Haystack Notebook "15_TableQA.ipynb", when I run the following commands in Colab:
I keep running into the following error:
Then I successfully install:
But I can't get past the error. Any help will be greatly appreciated. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 1 reply
-
@gavirapp hello! Did you try to restart the runtime? |
Beta Was this translation helpful? Give feedback.
-
I did. several times, over three days:( But nothing gets me past the:
ImportError: Please install torch_scatter to use TableReader. You can
follow the instructions here: https://github.com/rusty1s/pytorch_scatter
…On Sun, Oct 30, 2022 at 6:24 AM Stefano Fiorucci ***@***.***> wrote:
@gavirapp <https://github.com/gavirapp> hello!
Did you try to restart the runtime?
Sometimes it is needed to make the installation of new libraries effective.
[image: image]
<https://user-images.githubusercontent.com/44616784/198873714-e1101597-72c7-4728-ac6a-9587d3477ae2.png>
—
Reply to this email directly, view it on GitHub
<#3501 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACKTPMSXU35J27HDX7IPHQTWFY5DJANCNFSM6AAAAAARR3WSCQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I can reproduce your issue.
Please let me know if it works for you... |
Beta Was this translation helpful? Give feedback.
-
@gavirapp the problem has been fixed in deepset-ai/haystack-tutorials#56. Try the tutorial again. It should work fine. |
Beta Was this translation helpful? Give feedback.
-
Hi Stefano, thanks, I just went back and tried running it, unfortunately
still gives me the same error (BTW, I am using Colab). Here is a couple of
views, to help you make sense (I will be happy to share my whole notebook
if you like):
[image: image.png]
[image: image.png]
Could this be privilege issue? or path? I actually dug into table.py, and
the error is coming from the state Boolean *torch_scatter_installed*
Apparently, the torch_scatter installation is not visible to the
TableReader class, although it is installed (I checked)
Hope this all makes sense and we can sort it out.
Thanks much again.
…-George
On Mon, Oct 31, 2022 at 5:14 AM Stefano Fiorucci ***@***.***> wrote:
@gavirapp <https://github.com/gavirapp> the problem has been fixed in
deepset-ai/haystack-tutorials#56
<deepset-ai/haystack-tutorials#56>.
Try the tutorial again. It should work fine.
—
Reply to this email directly, view it on GitHub
<#3501 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACKTPMRW3FFRKR6M6IQD66LWF6EV7ANCNFSM6AAAAAARR3WSCQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I refer to the official tutorial: https://colab.research.google.com/github/deepset-ai/haystack-tutorials/blob/main/tutorials/15_TableQA.ipynb I can't see the attached images. If you want/need, please share your notebook. |
Beta Was this translation helpful? Give feedback.
-
@gavirapp - Are you still running into this issue. Same as @anakin87, I was able to reproduce this on colab. If I try to run the reader cell before installing torch-scatter I got the error and installing it after that in the same run time did not fix the issue, it just kept giving me the same error. However, re-starting the runtime, installing torch first and then running the reader cell worked fine. I seem to only get this in colab though. I'll mention this to the team too to see if there's anything we can do about that for Colab. |
Beta Was this translation helpful? Give feedback.
-
Hi Tuana, first thanks for attending to this issue, and sorry I didn't get
back to you sooner. You are exactly correct, as soon as installed torch
before haystack the problem goes away!
In any case attached is the notebook file that gives me trouble in Colab.
Thanks and best,
…-George
On Wed, Nov 16, 2022 at 3:12 PM Tuana Celik ***@***.***> wrote:
@gavirapp <https://github.com/gavirapp> - Are you still running into this
issue. Same as @anakin87 <https://github.com/anakin87>, I was able to
reproduce this on colab. If I try to run the reader cell before installing
torch-scatter I got the error and installing it after that in the same run
time did not fix the issue, it just kept giving me the same error. However,
re-starting the runtime, installing torch first and then running the reader
cell worked fine. I seem to only get this in colab though. I'll mention
this to the team too to see if there's anything we can do about that for
Colab.
Let me know if you're still experiencing this though.
—
Reply to this email directly, view it on GitHub
<#3501 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACKTPMXHS5UFSLAUBFRDBI3WIU5Y7ANCNFSM6AAAAAARR3WSCQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
@gavirapp - Are you still running into this issue. Same as @anakin87, I was able to reproduce this on colab. If I try to run the reader cell before installing torch-scatter I got the error and installing it after that in the same run time did not fix the issue, it just kept giving me the same error. However, re-starting the runtime, installing torch first and then running the reader cell worked fine. I seem to only get this in colab though. I'll mention this to the team too to see if there's anything we can do about that for Colab.
Let me know if you're still experiencing this though.