Skip to content

Commit

Permalink
docs: remind user again change the data pth (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwanglzu committed Oct 21, 2021
1 parent b92df7d commit d1a9396
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/get-started/celeba.md
Expand Up @@ -28,6 +28,7 @@ from jina.types.document.generators import from_files


def data_gen():
# please change the file path to your data path
for d in from_files('/Users/jina/Downloads/img_align_celeba/*.jpg', size=100, to_dataturi=True):
d.convert_image_datauri_to_blob(color_axis=0) # no need of tf
yield d
Expand Down

0 comments on commit d1a9396

Please sign in to comment.