Re: Questions about hog.py file
24 Aug 2012 24 Aug '12
On Mon, Aug 6, 2012 at 6:31 AM, Omar Trinidad Gutiérrez Méndez email@example.com wrote:
I am reading the source code of the file hog.py, I found the next line of code:
n_cellsx = int(np.floor(sx // cx))
I don't know why they join the NumPy function floor and the // operator. Is there any reason to do this? I can't see. I feel that is doing the same thing twice.
I never followed up on this; has the issue been addressed by the latest HoG fixes?
Age (days ago)
Last active (days ago)
Stéfan van der Walt