Update utils.py
This commit is contained in:
@@ -311,5 +311,5 @@ def box_normalize(vertices, bound=0.95):
|
||||
bmin = vertices.min(axis=0)
|
||||
bmax = vertices.max(axis=0)
|
||||
bcenter = (bmax + bmin) / 2
|
||||
vertices = bound * (vertices - bcenter) / (bmax - bmin).max()
|
||||
vertices = 2 * bound * (vertices - bcenter) / (bmax - bmin).max()
|
||||
return vertices
|
||||
|
||||
Reference in New Issue
Block a user