You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was going through the extract_feature.py file. I felt it had a small issue in line 63.
After this line the shape of img variable should be (W, H, C). but then after the transpose(0,1) in line 66 it's shape would become = (H , W , C) and then after the transpose(0,2) in the same line it's shape would become = (C , W , H) which is not expected right?
Can you clarify this?
The text was updated successfully, but these errors were encountered:
After line 63, the shape of img should be (H, W, C).
You can refer to the official documentation of PIL .
The attribute size of PIL.Image is a (width, height) tuple.
Hi, I was going through the
extract_feature.py
file. I felt it had a small issue in line 63.After this line the shape of
img
variable should be(W, H, C)
. but then after thetranspose(0,1)
in line 66 it's shape would become =(H , W , C)
and then after thetranspose(0,2)
in the same line it's shape would become =(C , W , H)
which is not expected right?Can you clarify this?
The text was updated successfully, but these errors were encountered: