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 6ab33ea commit 714d28eCopy full SHA for 714d28e
lightning_pose/data/augmentations.py
@@ -71,6 +71,9 @@ def imgaug_transform(cfg: DictConfig) -> iaa.Sequential:
71
iaa.CoarseDropout(p=prct, size_percent=size_prct, per_channel=per_channel)
72
))
73
# coarse salt and pepper
74
+ # bright reflections can often confuse the model into thinking they are paws
75
+ # (which can also just be bright blobs) - so include some additional transforms that put
76
+ # bright blobs (and dark blobs) into the image
77
prct = 0.01 # probability of changing a pixel to salt/pepper noise
78
size_prct = (0.05, 0.1) # drop pix on a low-res version of img that's `size_prct` of og
79
data_transform.append(iaa.Sometimes(
0 commit comments