File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ def list_to_onehot(labels, classes):
5151 lookup = {c : i for i , c in enumerate (classes )}
5252 arr = np .zeros ((len (labels ), len (classes )), dtype = bool )
5353 for i , l in enumerate (labels ):
54-
5554 if l is None :
5655 continue
5756 elif isinstance (l , str ) or not isinstance (l , Iterable ):
Original file line number Diff line number Diff line change @@ -15,9 +15,6 @@ classifiers =
1515 Natural Language :: English
1616 Programming Language :: Python :: 3
1717 Programming Language :: Python :: 3 :: Only
18- Programming Language :: Python :: 3.7
19- Programming Language :: Python :: 3.8
20- Programming Language :: Python :: 3.9
2118 Programming Language :: Python :: Implementation :: CPython
2219project_urls =
2320 Tracker = https://github.com/ianhi/mpl-image-labeller/issues
You can’t perform that action at this time.
0 commit comments