google-research / tapas

End-to-end neural table-text understanding models.
Apache License 2.0
1.15k stars 217 forks source link

Run sqa_predictions locally fail #54

Closed Vincentchhsu closed 4 years ago

Vincentchhsu commented 4 years ago

Hi, when i run sqa_predictions locally, but it return below error:

is_gpu_available: False I0818 17:06:27.413831 139925626189632 run_task_main.py:152] is_gpu_available: False GPUs: [] I0818 17:06:27.414446 139925626189632 run_task_main.py:152] GPUs: [] Training or predicting ... I0818 17:06:27.414591 139925626189632 run_task_main.py:152] Training or predicting ...

Traceback (most recent call last):
  File "/home/nlp/anaconda3/envs/tapas/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1365, in _do_call
    return fn(*args)
  File "/home/nlp/anaconda3/envs/tapas/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1350, in _run_fn
    target_list, run_metadata)
  File "/home/nlp/anaconda3/envs/tapas/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1443, in _call_tf_sessionrun
    run_metadata)
tensorflow.python.framework.errors_impl.DataLossError: inflate() failed with error -3: incorrect header check
         [[{{node IteratorGetNext}}]]

How to solve this problem? Thanks.

Vincentchhsu commented 4 years ago

Hi, I've finally solved this problem! Thanks.