albanie / mcnSSD

A matconvnet implementation of the Single Shot Detector
MIT License
36 stars 23 forks source link

'or' in the line 178 of vl_nnmultiboxdetector.cu #6

Closed wuyi1983 closed 7 years ago

wuyi1983 commented 7 years ago

if ((numPriors != (confPreds.getDepth() / numClasses)) or (numPriors != (locPreds.getDepth() / 4))) { vlmxError(VLMXE_IllegalArgument, "LOCPREDS and CONFPREDS do not match the given set of priors.") ; }

'or' should be replaced by '|'.

albanie commented 7 years ago

Good spot!