Hello guys I'm trying to use FlyteFile to send ima...
# ask-the-community
v
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
d
cc @Samhita Alla
k
hmm hey @Victor Gustavo da Silva Oliveira i am actually working on streaming a FlyteFile right now
we have a prototype and this will eventually endup in flytefile
v
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
s
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.
v
Alright, I think I've understood now. Thank you all!
161 Views