datasets icon indicating copy to clipboard operation
datasets copied to clipboard

An appropriate way of putting manually an already downloaded dataset in the tensorflow_datasets folder

Open aslansd opened this issue 1 year ago • 5 comments

What I need help with / What I was wondering I already have the shape3d dataset and I would like to put it manually in the tensorflow_datasets/datasets folder. I was wondering if you could tell me what is the appropriate way of doing this if I want to load the data just normally later. I am working on a 64 bit Windows 10 system.

aslansd avatar Apr 24 '23 06:04 aslansd

See https://www.tensorflow.org/datasets/add_dataset#manual_download_and_extraction where it shows how to modify the DatasetBuilder to use a manually downloaded file with dl_manager.manual_dir

fylux avatar Apr 25 '23 07:04 fylux

Hi Alfonso, thanks for your note. This may sounds a bit strange but in Iran I don't have access to tensorflow website (https://www.tensorflow.org/).

"Your client does not have permission to get URL / from this server. That’s all we know."

I was wondering if you could introduce some other websites so I can use the materials there. Or if it is possible for you just copy and paste the relevant parts from there here. Many thanks in advance!

aslansd avatar Apr 25 '23 10:04 aslansd

Or if it is possible for you just copy and paste the relevant parts from there here. Many thanks in advance!

Since the documentation is part of the Github repository you can also find it here https://github.com/tensorflow/datasets/blob/master/docs/add_dataset.md

fylux avatar Apr 26 '23 11:04 fylux

Ok, thanks!

aslansd avatar Apr 26 '23 12:04 aslansd

Hi Alfonso, I am sorry for asking so many questions but when I write the following commands from the first few lines of the link that you sent:

import tensorflow_datasets as tfds tfds new my_dataset

It gives the following error:

Cell In[2], line 2 tfds new my_dataset ^ SyntaxError: invalid syntax

I was wondering if you could be helpful. Many thanks in advance!

aslansd avatar Apr 26 '23 18:04 aslansd