vlfeat / matconvnet

MatConvNet: CNNs for MATLAB
Other
1.4k stars 753 forks source link

Can I implement data loading and train computing in parallel in matconvnet? #735

Closed xhhong closed 7 years ago

xhhong commented 8 years ago

Hi, everyone. I am a new in matconvnet, I find the time bottleneck is train data loading in matconvnet. How to implement data loading and train computation in parallel in matconvnet?

thanks!

albanie commented 7 years ago

Hi @xhhong - sorry for the slow response. One way to speed up data loading is to make use of the prefetch functionality in vl_imreadjpeg(), which you can see demonstrated here.