File tree Expand file tree Collapse file tree 5 files changed +28
-32
lines changed Expand file tree Collapse file tree 5 files changed +28
-32
lines changed Original file line number Diff line number Diff line change 22 "cells" : [
33  {
44   "cell_type" : " markdown"  ,
5-    "id" : " 3982f572-4151-47df-923d-3cd6794e7070 "  ,
5+    "id" : " 0 "  ,
66   "metadata" : {},
77   "source" : [
88    " # Callbacks\n "  ,
1313  {
1414   "cell_type" : " code"  ,
1515   "execution_count" : null ,
16-    "id" : " eebbcc16-dd8a-4e9b-9d79-b7cb2d3dbee0 "  ,
16+    "id" : " 1 "  ,
1717   "metadata" : {},
1818   "outputs" : [],
1919   "source" : [
2424  {
2525   "cell_type" : " code"  ,
2626   "execution_count" : null ,
27-    "id" : " f576ccc0-d8e8-4d6c-b09c-5c3634c94bf6 "  ,
27+    "id" : " 2 "  ,
2828   "metadata" : {
2929    "tags" : []
3030   },
5555  },
5656  {
5757   "cell_type" : " markdown"  ,
58-    "id" : " 1e4c6ae8-c124-4e05-a9d2-6c4d987d9cf7 "  ,
58+    "id" : " 3 "  ,
5959   "metadata" : {},
6060   "source" : [
6161    " ## Overlaying a mask\n "  ,
6666  {
6767   "cell_type" : " code"  ,
6868   "execution_count" : null ,
69-    "id" : " 352f6e5e-7b0b-44aa-bb19-da2bc6bca654 "  ,
69+    "id" : " 4 "  ,
7070   "metadata" : {
7171    "tags" : []
7272   },
108108  {
109109   "cell_type" : " code"  ,
110110   "execution_count" : null ,
111-    "id" : " 9f1e35b8-5b0e-442e-ae91-910d4ff04017 "  ,
111+    "id" : " 5 "  ,
112112   "metadata" : {},
113113   "outputs" : [],
114114   "source" : []
Original file line number Diff line number Diff line change 22 "cells" : [
33  {
44   "cell_type" : " markdown"  ,
5-    "id" : " 7b2b704c-a2b1-4497-bd93-b6619804d848 "  ,
5+    "id" : " 0 "  ,
66   "metadata" : {},
77   "source" : [
88    " # Images from a function (Lazy loading)\n "  ,
1616  {
1717   "cell_type" : " code"  ,
1818   "execution_count" : null ,
19-    "id" : " 483bffb1-f291-40ad-80ba-e9e08b8f6e88 "  ,
19+    "id" : " 1 "  ,
2020   "metadata" : {},
2121   "outputs" : [],
2222   "source" : [
2727  {
2828   "cell_type" : " code"  ,
2929   "execution_count" : null ,
30-    "id" : " b62a762f-26be-4dba-ab07-ec26648b970b "  ,
30+    "id" : " 2 "  ,
3131   "metadata" : {
3232    "tags" : []
3333   },
5757  {
5858   "cell_type" : " code"  ,
5959   "execution_count" : null ,
60-    "id" : " 8000249c-babc-430d-bd29-7a55145ce0bc "  ,
60+    "id" : " 3 "  ,
6161   "metadata" : {},
6262   "outputs" : [],
6363   "source" : []
Original file line number Diff line number Diff line change 22 "cells" : [
33  {
44   "cell_type" : " markdown"  ,
5-    "id" : " 10d8e4fe-11be-478a-bc33-a81bb0dce987 "  ,
5+    "id" : " 0 "  ,
66   "metadata" : {},
77   "source" : [
88    " # Multi Class\n "  ,
1313  {
1414   "cell_type" : " code"  ,
1515   "execution_count" : null ,
16-    "id" : " d7aa1379-5cbd-4284-8d99-373bfd02c807 "  ,
16+    "id" : " 1 "  ,
1717   "metadata" : {
1818    "tags" : []
1919   },
2626  {
2727   "cell_type" : " code"  ,
2828   "execution_count" : null ,
29-    "id" : " d7db1d50-2fe0-4fa5-9af9-1f0753acd34d "  ,
29+    "id" : " 2 "  ,
3030   "metadata" : {
3131    "tags" : []
3232   },
4949  },
5050  {
5151   "cell_type" : " markdown"  ,
52-    "id" : " 4471612b-e5f7-4a55-8232-536da875fb29 "  ,
52+    "id" : " 3 "  ,
5353   "metadata" : {},
5454   "source" : [
5555    " The natural representation of this multiclass is a onehot encoding accessible (and settable!) via the `labels_onehot` property." 
5858  {
5959   "cell_type" : " code"  ,
6060   "execution_count" : null ,
61-    "id" : " b724f277-2eb9-4d5c-b0a7-0820ce4b20d2 "  ,
61+    "id" : " 4 "  ,
6262   "metadata" : {},
6363   "outputs" : [],
6464   "source" : [
6767  },
6868  {
6969   "cell_type" : " markdown"  ,
70-    "id" : " 2cf1e17e-8a18-4a56-b9d8-4be61fe4bd47 "  ,
70+    "id" : " 5 "  ,
7171   "metadata" : {},
7272   "source" : [
7373    " If you can you can also get the labels as a ragged list of lists via the `labels` property" 
7676  {
7777   "cell_type" : " code"  ,
7878   "execution_count" : null ,
79-    "id" : " 700dcf86-7337-4b50-aab0-ddd7346a24d9 "  ,
79+    "id" : " 6 "  ,
8080   "metadata" : {},
8181   "outputs" : [],
8282   "source" : [
Original file line number Diff line number Diff line change 22 "cells" : [
33  {
44   "cell_type" : " markdown"  ,
5-    "id" : " cdf469e7-0110-4b75-97d5-69c25aa290f5 "  ,
5+    "id" : " 0 "  ,
66   "metadata" : {},
77   "source" : [
88    " # Single Class\n " 
1111  {
1212   "cell_type" : " code"  ,
1313   "execution_count" : null ,
14-    "id" : " 4a694f4d-ba0d-4ea4-b15e-db17a2fa8e61 "  ,
14+    "id" : " 1 "  ,
1515   "metadata" : {
1616    "tags" : []
1717   },
2323  },
2424  {
2525   "cell_type" : " markdown"  ,
26-    "id" : " 8b0938f1-fab9-4127-b836-9c06a2fbc333 "  ,
26+    "id" : " 2 "  ,
2727   "metadata" : {},
2828   "source" : [
2929    " ```{note}\n "  ,
3434  {
3535   "cell_type" : " code"  ,
3636   "execution_count" : null ,
37-    "id" : " 65afcfa0-1511-4721-a79a-8df969a1002f "  ,
37+    "id" : " 3 "  ,
3838   "metadata" : {
3939    "tags" : []
4040   },
5454  },
5555  {
5656   "cell_type" : " markdown"  ,
57-    "id" : " f517f339-a7e1-4bd5-bff4-fc56d9948a1d "  ,
57+    "id" : " 4 "  ,
5858   "metadata" : {},
5959   "source" : [
6060    " After you label the images then the labels will be available as a list:" 
6363  {
6464   "cell_type" : " code"  ,
6565   "execution_count" : null ,
66-    "id" : " c79afd96-4f6d-46f8-ab7d-46b5dc6de38e "  ,
66+    "id" : " 5 "  ,
6767   "metadata" : {
6868    "tags" : []
6969   },
7474  },
7575  {
7676   "cell_type" : " markdown"  ,
77-    "id" : " 7416b621-d9be-4e5d-9600-14f341ee419b "  ,
77+    "id" : " 6 "  ,
7878   "metadata" : {},
7979   "source" : [
8080    " Or as a onehot encoding" 
8383  {
8484   "cell_type" : " code"  ,
8585   "execution_count" : null ,
86-    "id" : " cca10064-0f61-47c3-b526-5d1330170c61 "  ,
86+    "id" : " 7 "  ,
8787   "metadata" : {},
8888   "outputs" : [],
8989   "source" : [
9393  {
9494   "cell_type" : " code"  ,
9595   "execution_count" : null ,
96-    "id" : " 253335a9-17ea-4dfd-96a4-580f8593ac1d "  ,
96+    "id" : " 8 "  ,
9797   "metadata" : {},
9898   "outputs" : [],
9999   "source" : []
Original file line number Diff line number Diff line change @@ -7,17 +7,13 @@ url = https://mpl-image-labeller.rtfd.io
77author  = Ian Hunt-Isaak
8899license  = BSD-3-Clause
10- license_file  = LICENSE
10+ license_files  = LICENSE
1111classifiers  =
1212    Development Status :: 5 - Production/Stable
1313    Framework :: Matplotlib
14-     License :: OSI Approved :: BSD License
1514    Natural Language :: English
1615    Programming Language :: Python :: 3
1716    Programming Language :: Python :: 3 :: Only
18-     Programming Language :: Python :: 3.7
19-     Programming Language :: Python :: 3.8
20-     Programming Language :: Python :: 3.9
2117    Programming Language :: Python :: Implementation :: CPython
2218project_urls  =
2319    Tracker  = https://github.com/ianhi/mpl-image-labeller/issues
@@ -29,7 +25,7 @@ project_urls =
2925packages  = find:
3026install_requires  =
3127    matplotlib
32- python_requires  = >=3.7 
28+ python_requires  = >=3.9 
3329zip_safe  = False
3430
3531[options.extras_require] 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments