Error in tensor shape of docstring (#11206)
Corrected the tensor shape in the doc string. The incoming masks are stacked in dim=0 therefore the doc is wrong Signed-off-by: Jonas Heinle <jonasheinle@googlemail.com>
This commit is contained in:
1 parent
3e55763d45
commit
ef7039ea18
1 file changed
+1
-1
@@ -10,7 +10,7 @@ def crop_mask(masks, boxes):
|
||||
Vectorized by Chong (thanks Chong).
|
||||
|
||||
Args:
|
||||
- masks should be a size [h, w, n] tensor of masks
|
||||
- masks should be a size [n, h, w] tensor of masks
|
||||
- boxes should be a size [n, 4] tensor of bbox coords in relative point form
|
||||
"""
|
||||
|
||||
|
||||
Reference in new issue
Block a user