prithivMLmods/BnW-vs-Colored-Detection
Image Classification • 92.9M • Updated • 5 • 2
Error code: JWTInvalidSignature
Exception: InvalidSignatureError
Message: Signature verification failed
Traceback: Traceback (most recent call last):
File "/src/libs/libapi/src/libapi/jwt_token.py", line 286, in validate_jwt
decoded = jwt.decode(
jwt=token,
...<2 lines>...
options=options,
)
File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 368, in decode
decoded = self.decode_complete(
jwt,
...<8 lines>...
leeway=leeway,
)
File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 265, in decode_complete
decoded = self._jws.decode_complete(
jwt,
...<3 lines>...
detached_payload=detached_payload,
)
File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 270, in decode_complete
self._verify_signature(
~~~~~~~~~~~~~~~~~~~~~~^
signing_input,
^^^^^^^^^^^^^^
...<4 lines>...
options=merged_options,
^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 417, in _verify_signature
raise InvalidSignatureError("Signature verification failed")
jwt.exceptions.InvalidSignatureError: Signature verification failedNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
BnW-vs-Colored-10K is a curated dataset of 10,000 images designed for binary image classification tasks distinguishing between black & white (BnW) and colored images. This dataset can be used for training models in visual recognition, restoration, or filtering pipelines involving grayscale and color detection.
B & W (Black and White), Colored| Column | Type | Description |
|---|---|---|
| image | Image | Input image (JPEG format) |
| label | Class | Binary label: B & W or Colored |
| Label ID | Class Name |
|---|---|
| 0 | B & W |
| 1 | Colored |
You can load the dataset using the datasets library from Hugging Face:
from datasets import load_dataset
dataset = load_dataset("prithivMLmods/BnW-vs-Colored-10K")
To visualize an example:
import matplotlib.pyplot as plt
example = dataset["train"][0]
plt.imshow(example["image"])
plt.title(example["label"])
plt.axis("off")
plt.show()
This dataset is made available under the Apache 2.0 License.
Curated & Maintained by @prithivMLmods. For inquiries or contributions, please open an issue or submit a pull request.