Hello guys I'm trying to use FlyteFile to send ima...
# flyte-support
d
Hello guys I'm trying to use FlyteFile to send images between tasks, but when I'm trying to load the downloaded image with tensorflow, I'm keep getting the following error: TypeError: path should be path-like or io.BytesIO, not <class 'flytekit.types.file.file.FlyteFile'> I'm using this blog post as an example.
The idea is to not download images to local storage, but to use it as a ephemeral file, as FlyteFile supposed to be
a
cc @tall-lock-23197
f
hmm hey @dry-ability-69144 i am actually working on streaming a FlyteFile right now
we have a prototype and this will eventually endup in flytefile
🙌 1
d
Cool! So, right now, if I want to use the FlyteFile format to load images, it will be needed to download it to local store? Using the
download()
method?
PS: I'm using GCP as my data persistence layer
t
Cool! So, right now, if I want to use the FlyteFile format to load images, it will be needed to download it to local store? Using the
download()
method?
Yeah, you'll need to download it.
d
Alright, I think I've understood now. Thank you all!
🔥 1
164 Views