ssudholt / phocnet

BSD 3-Clause "New" or "Revised" License
38 stars 28 forks source link

CV_GRAY_SCALE and create if dir is not existed #15

Open dac-nh opened 5 years ago

dac-nh commented 5 years ago

In file predict_phoc, the config CV_GRAY_SCALE is not available anymore (should be 0). And when I input an output_dir as parameter, the script are going to be stopped if dir is not exist. Hence, I think it is great if you add a short code to create dir if not exist. Thank you very much!

lnsndn commented 4 years ago

Here is a fix for the CV_GRAY_SCALE issue (and other missing constants): https://github.com/lnsndn/caffe/commit/2f3675c2690bfc918b305960465c69c47a8630c2