Reading TFRecord files

12 views
Skip to first unread message

AHMED IMAM SHAH

unread,
Oct 17, 2021, 5:33:11 PM10/17/21
to COMP541
Hello Everyone,

By any chance, does anyone have experience with loading data from TFrecord files in Julia?
My dataset contains 2 tensors one for the images and one for the multiple masks for each image. 

Or should I first convert it to some other format like .jpg files to read in Julia?

Best regards,
Ahmed Imam Shah
MS. Computer Science and Engineering
Koç University, Istanbul, Turkey

ILKER KESEN

unread,
Oct 17, 2021, 11:03:45 PM10/17/21
to AHMED IMAM SHAH, COMP541
Ahmed hi,

I recommend converting the data to a universal format first. In your case, just convert those tensors to image files. Or, you can read them with PyCall package by calling the tfrecord read/load functions. There's also Tensorflow.jl package, and it looks like there's some workaround for reading tfrecord files,


Though, I have not used this package before.

Best.
- ilker


--
You received this message because you are subscribed to the Google Groups "COMP541" group.
To unsubscribe from this group and stop receiving emails from it, send an email to COMP541+u...@ku.edu.tr.
To view this discussion on the web visit https://groups.google.com/a/ku.edu.tr/d/msgid/COMP541/CA%2Bsbv-jPXYbnopwKMLOWKgsFRWAUwWdTF6X6CCr5qd6HTV6Wow%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages