Spaces:
Runtime error
Runtime error
Commit
·
d999192
1
Parent(s):
be95217
Update main.py
Browse files
main.py
CHANGED
@@ -53,7 +53,7 @@ def create_position_map(pos, image_size=256, original_width=1024, original_heigh
|
|
53 |
torch.Tensor: Binary position map of shape (1, image_size, image_size)
|
54 |
"""
|
55 |
x, y = pos
|
56 |
-
x, y = 307, 375
|
57 |
if x is None:
|
58 |
return torch.zeros((1, image_size, image_size))
|
59 |
# Scale the positions to new size
|
|
|
53 |
torch.Tensor: Binary position map of shape (1, image_size, image_size)
|
54 |
"""
|
55 |
x, y = pos
|
56 |
+
#x, y = 307, 375
|
57 |
if x is None:
|
58 |
return torch.zeros((1, image_size, image_size))
|
59 |
# Scale the positions to new size
|