标签:
负样本的label是任意的, 但是overlap要小于threshold (绝对负样本可以将overlap 设置为 0)
2. 如果 fg_fraction 小于 1, 并且如果一个dataset (TRAIN phase / TEST phase) 中没有负样本, 那么逻辑上就是矛盾的, caffe会报错 (但是错误内容是比较莫名其妙的) , 比如:
I0507 09:58:46.192163 21762 net.cpp:113] Setting up fc6 *** Aborted at 1430963926 (unix time) try "date -d @1430963926" if you are using GNU date *** PC: @ 0x7f5ad296f0db caffe::WindowDataLayer<>::InternalThreadEntry() *** SIGFPE (@0x7f5ad296f0db) received by PID 21762 (TID 0x7f5aacde6700) from PID 18446744072947691739; stack trace: *** @ 0x7f5ad1b19d40 (unknown) @ 0x7f5ad296f0db caffe::WindowDataLayer<>::InternalThreadEntry() @ 0x7f5aca2d6a4a (unknown) @ 0x7f5ac9839182 start_thread @ 0x7f5ad1bdd47d (unknown) @ 0x0 (unknown) ./train.sh: line 2: 21762 Floating point exception(core dumped) ./external/caffe/build/tools/caffe train -gpu 1 -solver external/my_models/lsp_window_data/lsp_solver.prototxt
3. 如果bbox坐标超过了image 的大小, 但是bbox有一部分在图像内部, 这种情况是允许的.
需要在prototxt里面指定图像大小, 程序内部会check设定的大小是否和数据实际大小一致. 所以数据一旦存储后就不能再改变大小.
标签:
原文地址:http://www.cnblogs.com/platero/p/4484031.html