You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2 frames /usr/lib/python3.10/posixpath.py in join(a, *p)
74 will be discarded. An empty last part will result in a path that
75 ends with a separator."""
---> 76 a = os.fspath(a)
77 sep = _get_sep(a)
78 path = a
TypeError: expected str, bytes or os.PathLike object, not ClassificationDataset
The text was updated successfully, but these errors were encountered:
base_model.label("./context_images", extension=".jpeg") not work.
Classifications(class_id=array([0, 1]), confidence=array([4.3924967e-05, 9.9995613e-01], dtype=float32))
Labeling ./context_images/test.jpg: 100%|██████████| 2/2 [00:01<00:00, 1.92it/s]
TypeError Traceback (most recent call last)
in <cell line: 21>()
19
20 print(results)
---> 21 base_model.label("./context_images", extension=".jpg")
2 frames
/usr/lib/python3.10/posixpath.py in join(a, *p)
74 will be discarded. An empty last part will result in a path that
75 ends with a separator."""
---> 76 a = os.fspath(a)
77 sep = _get_sep(a)
78 path = a
TypeError: expected str, bytes or os.PathLike object, not ClassificationDataset
The text was updated successfully, but these errors were encountered: