docs icon indicating copy to clipboard operation
docs copied to clipboard

Fix dataset path creation and download

Open chicco-carone opened this issue 6 months ago • 1 comments

This pull request includes a small change to the site/en/tutorials/images/classification.ipynb file. The change updates the way the dataset directory is specified to ensure compatibility with the extracted folder structure.

chicco-carone avatar Jun 19 '25 12:06 chicco-carone

Preview

Preview and run these notebook edits with Google Colab: Rendered notebook diffs available on ReviewNB.com.

Format and style

Use the TensorFlow docs notebook tools to format for consistent source diffs and lint for style:
$ python3 -m pip install -U --user git+https://github.com/tensorflow/docs

$ python3 -m tensorflow_docs.tools.nbfmt notebook.ipynb
$ python3 -m tensorflow_docs.tools.nblint --arg=repo:tensorflow/docs notebook.ipynb
If commits are added to the pull request, synchronize your local branch: git pull origin fix-classification-download

github-actions[bot] avatar Jun 19 '25 12:06 github-actions[bot]

can you please undo the indentation changes please

8bitmp3 avatar Jun 30 '25 19:06 8bitmp3

what indentation changes are causing this issue? I didn't indent anything like the original file so I'm not sure

chicco-carone avatar Jul 01 '25 10:07 chicco-carone

what indentation changes are causing this issue? I didn't indent anything like the original file so I'm not sure

The diff is a lot easier to review if you don't change the indentation. Look at the diff here:

https://github.com/tensorflow/docs/pull/2387/files

The commands printed in the GH actions bot comment explain one way to fix it.

MarkDaoust avatar Jul 01 '25 16:07 MarkDaoust

I ran the format tool like the comments from github actions so now it should be good to go

chicco-carone avatar Jul 01 '25 16:07 chicco-carone