tensorflow / datasets

TFDS is a collection of datasets ready to use with TensorFlow, Jax, ...
https://www.tensorflow.org/datasets
Apache License 2.0
4.31k stars 1.54k forks source link

Cannot access definite_pronoun_resolution dataset #4061

Open akku779 opened 2 years ago

akku779 commented 2 years ago

I am trying to download the definite_pronoun_resolution dataset but I receive an error while trying to do so.

Here is the line of code I run to access the dataset. ds = tfds.load("definite_pronoun_resolution",data_dir=DATA_DIR)

It returns this error: /usr/local/lib/python3.7/dist-packages/tensorflow/python/lib/io/file_io.py in _preread_check(self) 77 "File isn't open for reading") 78 self._read_buf = _pywrap_file_io.BufferedInputStream( ---> 79 self.__name, 1024 * 512) 80 81 def _prewrite_check(self):

TypeError: init(): incompatible constructor arguments. The following argument types are supported:

  1. tensorflow.python._pywrap_file_io.BufferedInputStream(arg0: str, arg1: int)

Invoked with: PosixGPath('gs://t5-model-data/data/downloads/s3_datas.huggi.co_defin_prono_resol_test.czxzwJeHVmls2Pm3PvVoTquipgwgxrBb9f4ZaynoVWdg.txt'), 524288

gabrielraya commented 1 year ago

@akku779 did you find a solution to this?