We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 530c363 commit 2aed60eCopy full SHA for 2aed60e
sleap_nn/data/instance_cropping.py
@@ -44,7 +44,7 @@ def find_instance_crop_size(
44
max_length = 0.0
45
for lf in labels:
46
for inst in lf.instances:
47
- if not inst.is_empty: # only if atleast one point is not nan
+ if not inst.is_empty: # only if at least one point is not nan
48
pts = inst.numpy()
49
pts *= input_scaling
50
diff_x = np.nanmax(pts[:, 0]) - np.nanmin(pts[:, 0])
0 commit comments