Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add skip_resize for model.predict #1605

Merged
merged 22 commits into from
Nov 13, 2023
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
a6e8d9c
first working version without test
Louis-Dupont Nov 2, 2023
3a447d8
Merge branch 'master' into feature/SG-1146-add_skip_resize_in_predict
Louis-Dupont Nov 6, 2023
6cf8cc9
add
Louis-Dupont Nov 6, 2023
93b1827
Merge branch 'master' into feature/SG-1146-add_skip_resize_in_predict
Louis-Dupont Nov 6, 2023
9117d58
add tests
Louis-Dupont Nov 6, 2023
14cff69
Merge branch 'master' into feature/SG-1146-add_skip_resize_in_predict
Louis-Dupont Nov 6, 2023
2922599
move to _get_pipeline
Louis-Dupont Nov 6, 2023
94d5eb2
fix
Louis-Dupont Nov 6, 2023
04687cc
Merge branch 'master' into feature/SG-1146-add_skip_resize_in_predict
Louis-Dupont Nov 7, 2023
8b428da
fix test
Louis-Dupont Nov 7, 2023
0292e05
Merge branch 'master' into feature/SG-1146-add_skip_resize_in_predict
Louis-Dupont Nov 8, 2023
e68a3a2
Way to fix bug with validation frequency (#1601)
philmarchenko Nov 8, 2023
1e21627
Merge branch 'master' into feature/SG-1146-add_skip_resize_in_predict
Louis-Dupont Nov 9, 2023
3874c86
add images and update autopadding responsability
Louis-Dupont Nov 9, 2023
d4300af
add example of visualization w/o resizing
Louis-Dupont Nov 9, 2023
919fb57
add docstring
Louis-Dupont Nov 9, 2023
b4bd4bd
remove unwanted prints
Louis-Dupont Nov 9, 2023
7fcafa4
Merge branch 'master' into feature/SG-1146-add_skip_resize_in_predict
BloodAxe Nov 9, 2023
a22b56f
Merge branch 'master' into feature/SG-1146-add_skip_resize_in_predict
Louis-Dupont Nov 12, 2023
31cbaeb
Merge branch 'master' into feature/SG-1146-add_skip_resize_in_predict
BloodAxe Nov 13, 2023
5a07a43
add explicit auto_paddign
Louis-Dupont Nov 13, 2023
b57718e
Merge branch 'master' into feature/SG-1146-add_skip_resize_in_predict
BloodAxe Nov 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove unwanted prints
Louis-Dupont committed Nov 9, 2023
commit b4bd4bd235ae04c7176aeaf280d406ced39d636a
3 changes: 0 additions & 3 deletions src/super_gradients/training/transforms/utils.py
Original file line number Diff line number Diff line change
@@ -148,9 +148,6 @@ def _pad_image(image: np.ndarray, padding_coordinates: PaddingCoordinates, pad_v
constant_values = pad_value
padding_values = (pad_h, pad_w)

print(image.shape)
print(padding_values)
print(constant_values)
return np.pad(image, pad_width=padding_values, mode="constant", constant_values=constant_values)