gklz1982 / caffe-yolov2

Other
164 stars 128 forks source link

why train batch_size = 1 , pad = 0 and how to predicct? #7

Open Li-Lai opened 7 years ago

Li-Lai commented 7 years ago

Thank you for sharing the code. I have some questions, could you give me some advice? Q1: Why batch = 1 in train.prototxt? The training process is very slow. I change this param, but there is no change in cuda momery, why? Q2: Error occured when pad = 1 ( in layer conv4), but pad = 0 is ok, why? pad in darknet was setted 1. Q3:How to use your code to predict images? Look forward to your reply!