Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit67ff60f

Browse files
authored
Fix a bug in pepper preproc.
1 parent4a6ca0f commit67ff60f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎dataset.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def __getitem__(self, item):
105105
if'enhance'inConfig().preproc_methods:
106106
image=color_enhance(image)
107107
if'pepper'inConfig().preproc_methods:
108-
label=random_pepper(label)
108+
image=random_pepper(image)
109109

110110
image,label=self.transform_image(image),self.transform_label(label)
111111

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp