pluskid / Mocha.jl

Deep Learning framework for Julia
Other
1.29k stars 254 forks source link

HDF5InputDataLayer fails with shuffle=true if data is not 4 dimensional #71

Closed maximsch2 closed 9 years ago

maximsch2 commented 9 years ago

HDF5DataLayer assumes that input data is 4D in one place. Noe that my fix makes line 54 be the same as line 102

pluskid commented 9 years ago

Thanks! This looks good!

But git hub somehow prevent me to merge from a phone because of a failing test (due to 0.4 Julia I guess). I will merge this as soon as possible when I'm back from my trip and have access to a computer. Thanks again!