I'm going to write to TFRecord file using this code The problem is that this process is very slow, such that it's not feasible to write a large dataset even in days! It's just a writer that serialize to disk. Why it's so slow?! Another problem is that the size of the output file is 10 times greater than the original file!
does anyone know any way to speed up the process of TFRecordWriter and compress the result?
As far as the size, you can write the images as JPEGs or PNGs instead of raw. What size data set is taking days to write?
-Clay
--
You received this message because you are subscribed to the Google Groups "Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss+unsubscribe@tensorflow.org.
To post to this group, send email to dis...@tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/discuss/CAN4bGgOR7_QZmJJ%3D2oSs45iZg%3DtBtB-749iAxkCq5WMjNBKYbg%40mail.gmail.com.
Are you doing some kind of processing on it before writing to the file? I can write 2gb of images in a few minutes.
just as https://github.com/tensorflow/tensorflow/blob/r0.10/tensorflow/examples/how_tos/reading_data/convert_to_records.py#L68
|
Are you doing some kind of processing on it before writing to the file? I can write 2gb of images in a few minutes.
On Sep 19, 2016 8:54 PM, "Eric Yue" <hi.moo...@gmail.com> wrote:
my dataset is about 30G ,textline fotmat .
As far as the size, you can write the images as JPEGs or PNGs instead of raw. What size data set is taking days to write?
-Clay
On Sep 19, 2016 12:21 PM, "Eric Yue" <hi.moo...@gmail.com> wrote:
--I'm going to write to TFRecord file using this code The problem is that this process is very slow, such that it's not feasible to write a large dataset even in days! It's just a writer that serialize to disk. Why it's so slow?! Another problem is that the size of the output file is 10 times greater than the original file!
does anyone know any way to speed up the process of TFRecordWriter and compress the result?
-------------------------------Best Regards,Eric Yue ( Yue Bin )Beijing,China
You received this message because you are subscribed to the Google Groups "Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss+u...@tensorflow.org.