Skip to content

Commit

Permalink
Fix typo (#3)
Browse files Browse the repository at this point in the history
* fix typo on numpy import
  • Loading branch information
bernardhan33 authored Feb 13, 2024
1 parent e524bf4 commit 353ce14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Dataflux Dataset for PyTorch offers the flexibility to transform the downloaded
# Assume that you have a bucket with image files and you want
# to load them into Numpy arrays for training.
import io
import numpy as np
import numpy
from PIL import Image

transform = lambda img_in_bytes : numpy.asarray(Image.open(io.BytesIO(img_in_bytes)))
Expand Down

0 comments on commit 353ce14

Please sign in to comment.