Skip to content

Commit 0baf5d6

Browse files
committed
Updated pipeline example
1 parent 5ea2030 commit 0baf5d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

transforming/augment.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def cvt_padding(
329329
pipeline = hub.compose(
330330
[
331331
cvt_horizontal_flip(probability=0.4),
332-
cvt_crop(crop_locations=-1, probability=0.8),
332+
cvt_crop(probability=0.8),
333333
cvt_gray(probability=0.7),
334334
cvt_padding(pad_size=(10, 10, 10, 10), bg_color=(0, 0, 0), probability=0.5),
335335
cvt_resize(resize_size=(100, 80), probability=0.6),

0 commit comments

Comments
 (0)