File tree Expand file tree Collapse file tree 5 files changed +28
-31
lines changed Expand file tree Collapse file tree 5 files changed +28
-31
lines changed Original file line number Diff line number Diff line change 2
2
"cells" : [
3
3
{
4
4
"cell_type" : " markdown" ,
5
- "id" : " 3982f572-4151-47df-923d-3cd6794e7070 " ,
5
+ "id" : " 0 " ,
6
6
"metadata" : {},
7
7
"source" : [
8
8
" # Callbacks\n " ,
13
13
{
14
14
"cell_type" : " code" ,
15
15
"execution_count" : null ,
16
- "id" : " eebbcc16-dd8a-4e9b-9d79-b7cb2d3dbee0 " ,
16
+ "id" : " 1 " ,
17
17
"metadata" : {},
18
18
"outputs" : [],
19
19
"source" : [
24
24
{
25
25
"cell_type" : " code" ,
26
26
"execution_count" : null ,
27
- "id" : " f576ccc0-d8e8-4d6c-b09c-5c3634c94bf6 " ,
27
+ "id" : " 2 " ,
28
28
"metadata" : {
29
29
"tags" : []
30
30
},
55
55
},
56
56
{
57
57
"cell_type" : " markdown" ,
58
- "id" : " 1e4c6ae8-c124-4e05-a9d2-6c4d987d9cf7 " ,
58
+ "id" : " 3 " ,
59
59
"metadata" : {},
60
60
"source" : [
61
61
" ## Overlaying a mask\n " ,
66
66
{
67
67
"cell_type" : " code" ,
68
68
"execution_count" : null ,
69
- "id" : " 352f6e5e-7b0b-44aa-bb19-da2bc6bca654 " ,
69
+ "id" : " 4 " ,
70
70
"metadata" : {
71
71
"tags" : []
72
72
},
108
108
{
109
109
"cell_type" : " code" ,
110
110
"execution_count" : null ,
111
- "id" : " 9f1e35b8-5b0e-442e-ae91-910d4ff04017 " ,
111
+ "id" : " 5 " ,
112
112
"metadata" : {},
113
113
"outputs" : [],
114
114
"source" : []
Original file line number Diff line number Diff line change 2
2
"cells" : [
3
3
{
4
4
"cell_type" : " markdown" ,
5
- "id" : " 7b2b704c-a2b1-4497-bd93-b6619804d848 " ,
5
+ "id" : " 0 " ,
6
6
"metadata" : {},
7
7
"source" : [
8
8
" # Images from a function (Lazy loading)\n " ,
16
16
{
17
17
"cell_type" : " code" ,
18
18
"execution_count" : null ,
19
- "id" : " 483bffb1-f291-40ad-80ba-e9e08b8f6e88 " ,
19
+ "id" : " 1 " ,
20
20
"metadata" : {},
21
21
"outputs" : [],
22
22
"source" : [
27
27
{
28
28
"cell_type" : " code" ,
29
29
"execution_count" : null ,
30
- "id" : " b62a762f-26be-4dba-ab07-ec26648b970b " ,
30
+ "id" : " 2 " ,
31
31
"metadata" : {
32
32
"tags" : []
33
33
},
57
57
{
58
58
"cell_type" : " code" ,
59
59
"execution_count" : null ,
60
- "id" : " 8000249c-babc-430d-bd29-7a55145ce0bc " ,
60
+ "id" : " 3 " ,
61
61
"metadata" : {},
62
62
"outputs" : [],
63
63
"source" : []
Original file line number Diff line number Diff line change 2
2
"cells" : [
3
3
{
4
4
"cell_type" : " markdown" ,
5
- "id" : " 10d8e4fe-11be-478a-bc33-a81bb0dce987 " ,
5
+ "id" : " 0 " ,
6
6
"metadata" : {},
7
7
"source" : [
8
8
" # Multi Class\n " ,
13
13
{
14
14
"cell_type" : " code" ,
15
15
"execution_count" : null ,
16
- "id" : " d7aa1379-5cbd-4284-8d99-373bfd02c807 " ,
16
+ "id" : " 1 " ,
17
17
"metadata" : {
18
18
"tags" : []
19
19
},
26
26
{
27
27
"cell_type" : " code" ,
28
28
"execution_count" : null ,
29
- "id" : " d7db1d50-2fe0-4fa5-9af9-1f0753acd34d " ,
29
+ "id" : " 2 " ,
30
30
"metadata" : {
31
31
"tags" : []
32
32
},
49
49
},
50
50
{
51
51
"cell_type" : " markdown" ,
52
- "id" : " 4471612b-e5f7-4a55-8232-536da875fb29 " ,
52
+ "id" : " 3 " ,
53
53
"metadata" : {},
54
54
"source" : [
55
55
" The natural representation of this multiclass is a onehot encoding accessible (and settable!) via the `labels_onehot` property."
58
58
{
59
59
"cell_type" : " code" ,
60
60
"execution_count" : null ,
61
- "id" : " b724f277-2eb9-4d5c-b0a7-0820ce4b20d2 " ,
61
+ "id" : " 4 " ,
62
62
"metadata" : {},
63
63
"outputs" : [],
64
64
"source" : [
67
67
},
68
68
{
69
69
"cell_type" : " markdown" ,
70
- "id" : " 2cf1e17e-8a18-4a56-b9d8-4be61fe4bd47 " ,
70
+ "id" : " 5 " ,
71
71
"metadata" : {},
72
72
"source" : [
73
73
" If you can you can also get the labels as a ragged list of lists via the `labels` property"
76
76
{
77
77
"cell_type" : " code" ,
78
78
"execution_count" : null ,
79
- "id" : " 700dcf86-7337-4b50-aab0-ddd7346a24d9 " ,
79
+ "id" : " 6 " ,
80
80
"metadata" : {},
81
81
"outputs" : [],
82
82
"source" : [
Original file line number Diff line number Diff line change 2
2
"cells" : [
3
3
{
4
4
"cell_type" : " markdown" ,
5
- "id" : " cdf469e7-0110-4b75-97d5-69c25aa290f5 " ,
5
+ "id" : " 0 " ,
6
6
"metadata" : {},
7
7
"source" : [
8
8
" # Single Class\n "
11
11
{
12
12
"cell_type" : " code" ,
13
13
"execution_count" : null ,
14
- "id" : " 4a694f4d-ba0d-4ea4-b15e-db17a2fa8e61 " ,
14
+ "id" : " 1 " ,
15
15
"metadata" : {
16
16
"tags" : []
17
17
},
23
23
},
24
24
{
25
25
"cell_type" : " markdown" ,
26
- "id" : " 8b0938f1-fab9-4127-b836-9c06a2fbc333 " ,
26
+ "id" : " 2 " ,
27
27
"metadata" : {},
28
28
"source" : [
29
29
" ```{note}\n " ,
34
34
{
35
35
"cell_type" : " code" ,
36
36
"execution_count" : null ,
37
- "id" : " 65afcfa0-1511-4721-a79a-8df969a1002f " ,
37
+ "id" : " 3 " ,
38
38
"metadata" : {
39
39
"tags" : []
40
40
},
54
54
},
55
55
{
56
56
"cell_type" : " markdown" ,
57
- "id" : " f517f339-a7e1-4bd5-bff4-fc56d9948a1d " ,
57
+ "id" : " 4 " ,
58
58
"metadata" : {},
59
59
"source" : [
60
60
" After you label the images then the labels will be available as a list:"
63
63
{
64
64
"cell_type" : " code" ,
65
65
"execution_count" : null ,
66
- "id" : " c79afd96-4f6d-46f8-ab7d-46b5dc6de38e " ,
66
+ "id" : " 5 " ,
67
67
"metadata" : {
68
68
"tags" : []
69
69
},
74
74
},
75
75
{
76
76
"cell_type" : " markdown" ,
77
- "id" : " 7416b621-d9be-4e5d-9600-14f341ee419b " ,
77
+ "id" : " 6 " ,
78
78
"metadata" : {},
79
79
"source" : [
80
80
" Or as a onehot encoding"
83
83
{
84
84
"cell_type" : " code" ,
85
85
"execution_count" : null ,
86
- "id" : " cca10064-0f61-47c3-b526-5d1330170c61 " ,
86
+ "id" : " 7 " ,
87
87
"metadata" : {},
88
88
"outputs" : [],
89
89
"source" : [
93
93
{
94
94
"cell_type" : " code" ,
95
95
"execution_count" : null ,
96
- "id" : " 253335a9-17ea-4dfd-96a4-580f8593ac1d " ,
96
+ "id" : " 8 " ,
97
97
"metadata" : {},
98
98
"outputs" : [],
99
99
"source" : []
Original file line number Diff line number Diff line change @@ -7,17 +7,14 @@ url = https://mpl-image-labeller.rtfd.io
7
7
author = Ian Hunt-Isaak
8
8
9
9
license = BSD-3-Clause
10
- license_file = LICENSE
10
+ license_files = LICENSE
11
11
classifiers =
12
12
Development Status :: 5 - Production/Stable
13
13
Framework :: Matplotlib
14
14
License :: OSI Approved :: BSD License
15
15
Natural Language :: English
16
16
Programming Language :: Python :: 3
17
17
Programming Language :: Python :: 3 :: Only
18
- Programming Language :: Python :: 3.7
19
- Programming Language :: Python :: 3.8
20
- Programming Language :: Python :: 3.9
21
18
Programming Language :: Python :: Implementation :: CPython
22
19
project_urls =
23
20
Tracker = https://github.com/ianhi/mpl-image-labeller/issues
@@ -29,7 +26,7 @@ project_urls =
29
26
packages = find:
30
27
install_requires =
31
28
matplotlib
32
- python_requires = >=3.7
29
+ python_requires = >=3.9
33
30
zip_safe = False
34
31
35
32
[options.extras_require]
You can’t perform that action at this time.
0 commit comments