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

fix grammar in fingerprint.py #7176

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions src/datasets/fingerprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def update_fingerprint(fingerprint, transform, transform_args):
f"Transform {transform} couldn't be hashed properly, a random hash was used instead. "
"Make sure your transforms and parameters are serializable with pickle or dill for the dataset fingerprinting and caching to work. "
"If you reuse this transform, the caching mechanism will consider it to be different from the previous calls and recompute everything. "
"This warning is only showed once. Subsequent hashing failures won't be showed."
"This warning is only showed once. Subsequent hashing failures won't be shown."
)
fingerprint_warnings["update_fingerprint_transform_hash_failed"] = True
else:
Expand All @@ -259,7 +259,7 @@ def update_fingerprint(fingerprint, transform, transform_args):
f"Parameter '{key}'={transform_args[key]} of the transform {transform} couldn't be hashed properly, a random hash was used instead. "
"Make sure your transforms and parameters are serializable with pickle or dill for the dataset fingerprinting and caching to work. "
"If you reuse this transform, the caching mechanism will consider it to be different from the previous calls and recompute everything. "
"This warning is only showed once. Subsequent hashing failures won't be showed."
"This warning is only showed once. Subsequent hashing failures won't be shown."
)
fingerprint_warnings["update_fingerprint_transform_hash_failed"] = True
else:
Expand Down