Closed qxcv closed 8 years ago
Possible causes I can think of (will update list as I go):
passmsg
). There are two types of down/up-sampling to be aware of when scaling: the explicit resampling I do to get multi-scale detections, and the implicit downsampling the CNN performs due to pooling and non-unity strides.square
as int -> int
in shiftdt.cpp
have something to do with it? Especially given that I'm not actually passing it an int?Yup, it was probably the int square(int);
problem. No assertions trigger after changing that to template<class T> T square(T);
(see 2e1311b9c596244e83c8fb9ac5dfd9fbe191a4b3).
The check on line 288 of
cy/src/detect.m
, which checks that the score of a pose found through message passing matches that found through reconstruction of the pose features from type and location information, keeps triggering. This check was inherited from Yang & Ramanan's original code, although I'm pretty sure it should still be valid for my mode. I've reproduced the check below:The deltas reported are quite significant (i.e. of the same magnitude as the two scores).