Replies: 3 comments
-
when I use the following code to download the fashion mnist dataset , it reports the following type error: code: data_dir = 'F:/TensorFlow/Tensorflow-vioce/fashiong mnist datasets' result: File D:\anaconda3\envs\tf-gpu\lib\site-packages\tensorflow_datasets\core\logging_init_.py:169, in _FunctionDecorator.call(self, function, instance, args, kwargs) File D:\anaconda3\envs\tf-gpu\lib\site-packages\tensorflow_datasets\core\load.py:640, in load(name, split, data_dir, batch_size, shuffle_files, download, as_supervised, decoders, read_config, with_info, builder_kwargs, download_and_prepare_kwargs, as_dataset_kwargs, try_gcs) File D:\anaconda3\envs\tf-gpu\lib\site-packages\tensorflow_datasets\core\load.py:499, in _download_and_prepare_builder(dbuilder, download, download_and_prepare_kwargs) File D:\anaconda3\envs\tf-gpu\lib\site-packages\tensorflow_datasets\core\logging_init_.py:169, in _FunctionDecorator.call(self, function, instance, args, kwargs) File D:\anaconda3\envs\tf-gpu\lib\site-packages\tensorflow_datasets\core\dataset_builder.py:646, in DatasetBuilder.download_and_prepare(self, download_dir, download_config, file_format) File D:\anaconda3\envs\tf-gpu\lib\site-packages\tensorflow_datasets\core\dataset_builder.py:1535, in GeneratorBasedBuilder._download_and_prepare(self, dl_manager, download_config) File D:\anaconda3\envs\tf-gpu\lib\site-packages\tensorflow_datasets\core\split_builder.py:341, in SplitBuilder.submit_split_generation(self, split_name, generator, filename_template, disable_shuffling) File D:\anaconda3\envs\tf-gpu\lib\site-packages\tensorflow_datasets\core\split_builder.py:406, in SplitBuilder._build_from_generator(self, split_name, generator, filename_template, disable_shuffling) File D:\anaconda3\envs\tf-gpu\lib\site-packages\tqdm\std.py:1182, in tqdm.iter(self) File D:\anaconda3\envs\tf-gpu\lib\site-packages\tensorflow_datasets\image_classification\mnist.py:156, in MNIST._generate_examples(self, num_examples, data_path, label_path) File D:\anaconda3\envs\tf-gpu\lib\site-packages\tensorflow_datasets\image_classification\mnist.py:393, in _extract_mnist_labels(labels_filepath, num_labels) File ~\AppData\Roaming\Python\Python38\site-packages\tensorflow\python\lib\io\file_io.py:116, in FileIO.read(self, n) File ~\AppData\Roaming\Python\Python38\site-packages\tensorflow\python\lib\io\file_io.py:79, in FileIO._preread_check(self) TypeError: init(): incompatible constructor arguments. The following argument types are supported: Invoked with: WindowsGPath('F:\TensorFlow\Tensorflow-vioce\fashiong mnist datasets\downloads\extracted\GZIP.fashion-mnist_train-labels-idx1-ubyteoE8XE0rANWCkfjdk4RuS_JfeTRv6-LoaOqKa9UzJCEU.gz'), 1048576 |
Beta Was this translation helpful? Give feedback.
-
Hola, no puedo descargar la data |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions