Re: Questions about hog.py file

24 Aug
2012
24 Aug
'12
2:22 p.m.
On Mon, Aug 6, 2012 at 6:31 AM, Omar Trinidad Gutiérrez Méndez omar.vpa@gmail.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?
Stéfan
3867
Age (days ago)
3867
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stéfan van der Walt