Re:High performance models in TensorFlow
by nyamhap on Thursday May 04, 2017 @10:40AM
(#14265146)
My bottleneck is still speed of reading data from json. I wonder whether I should wait for features to be built out here or go down the path of writing a custom data reader in C++
[ Parent
| on HN ]
If your data has a little extra structure that isn't shared by JSON in general, you could probably get serious performance gains by rolling your own.
Utilizing multiprocessing for reading and processing jsons (or any type of data) then feeding the output into a shuffle_batch* op works great for me.
Re:High performance models in TensorFlow
by jamesblonde on Thursday May 04, 2017 @10:50AM
(#14265215)
You could use Tensorflow-on-Spark to read your JSON into a RDD in Spark. Then the Tf-RDD-Reader will be in-memory and can feed your training.