clarifai 10.8.0__py3-none-any.whl → 10.8.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- clarifai/__init__.py +1 -1
- clarifai/datasets/export/inputs_annotations.py +1 -1
- {clarifai-10.8.0.dist-info → clarifai-10.8.1.dist-info}/METADATA +4 -3
- {clarifai-10.8.0.dist-info → clarifai-10.8.1.dist-info}/RECORD +8 -8
- {clarifai-10.8.0.dist-info → clarifai-10.8.1.dist-info}/WHEEL +1 -1
- {clarifai-10.8.0.dist-info → clarifai-10.8.1.dist-info}/LICENSE +0 -0
- {clarifai-10.8.0.dist-info → clarifai-10.8.1.dist-info}/entry_points.txt +0 -0
- {clarifai-10.8.0.dist-info → clarifai-10.8.1.dist-info}/top_level.txt +0 -0
    
        clarifai/__init__.py
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            __version__ = "10.8. | 
| 1 | 
            +
            __version__ = "10.8.1"
         | 
| @@ -196,7 +196,7 @@ class InputAnnotationDownloader: | |
| 196 196 |  | 
| 197 197 | 
             
                if data_dict.get("concepts") or data_dict.get("regions"):
         | 
| 198 198 | 
             
                  file_name = os.path.join(split, "annotations", input_.id + ".json")
         | 
| 199 | 
            -
                  annot_data = data_dict.get("regions", []) + data_dict.get("concepts")
         | 
| 199 | 
            +
                  annot_data = data_dict.get("regions", []) + data_dict.get("concepts", [])
         | 
| 200 200 |  | 
| 201 201 | 
             
                  self._save_annotation_to_archive(new_archive, annot_data, file_name)
         | 
| 202 202 | 
             
                  self.num_annotations += 1
         | 
| @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            Metadata-Version: 2.1
         | 
| 2 2 | 
             
            Name: clarifai
         | 
| 3 | 
            -
            Version: 10.8. | 
| 3 | 
            +
            Version: 10.8.1
         | 
| 4 4 | 
             
            Summary: Clarifai Python SDK
         | 
| 5 5 | 
             
            Home-page: https://github.com/Clarifai/clarifai-python
         | 
| 6 6 | 
             
            Author: Clarifai
         | 
| @@ -20,7 +20,7 @@ Classifier: Operating System :: OS Independent | |
| 20 20 | 
             
            Requires-Python: >=3.8
         | 
| 21 21 | 
             
            Description-Content-Type: text/markdown
         | 
| 22 22 | 
             
            License-File: LICENSE
         | 
| 23 | 
            -
            Requires-Dist: clarifai-grpc >=10.8. | 
| 23 | 
            +
            Requires-Dist: clarifai-grpc >=10.8.3
         | 
| 24 24 | 
             
            Requires-Dist: numpy >=1.22.0
         | 
| 25 25 | 
             
            Requires-Dist: tqdm >=4.65.0
         | 
| 26 26 | 
             
            Requires-Dist: tritonclient >=2.34.0
         | 
| @@ -30,6 +30,7 @@ Requires-Dist: schema ==0.7.5 | |
| 30 30 | 
             
            Requires-Dist: Pillow >=9.5.0
         | 
| 31 31 | 
             
            Requires-Dist: inquirerpy ==0.3.4
         | 
| 32 32 | 
             
            Requires-Dist: tabulate >=0.9.0
         | 
| 33 | 
            +
            Requires-Dist: protobuf ==5.27.3
         | 
| 33 34 | 
             
            Provides-Extra: all
         | 
| 34 35 | 
             
            Requires-Dist: pycocotools ==2.0.6 ; extra == 'all'
         | 
| 35 36 |  | 
| @@ -162,7 +163,7 @@ app = client.create_app(app_id="demo_app", base_workflow="Universal") | |
| 162 163 | 
             
            dataset = app.create_dataset(dataset_id="demo_dataset")
         | 
| 163 164 |  | 
| 164 165 | 
             
            # execute data upload to Clarifai app dataset
         | 
| 165 | 
            -
            from clarifai.datasets.upload. | 
| 166 | 
            +
            from clarifai.datasets.upload.loaders.coco_detection import COCODetectionDataLoader
         | 
| 166 167 | 
             
            coco_dataloader = COCODetectionDataLoader("images_dir", "coco_annotation_filepath")
         | 
| 167 168 | 
             
            dataset.upload_dataset(dataloader=coco_dataloader, get_upload_status=True)
         | 
| 168 169 |  | 
| @@ -1,4 +1,4 @@ | |
| 1 | 
            -
            clarifai/__init__.py,sha256= | 
| 1 | 
            +
            clarifai/__init__.py,sha256=YzoAvDLMLgWcKZkrJDcrSJXA_l4VFCHs8si17X6UMDM,23
         | 
| 2 2 | 
             
            clarifai/cli.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
         | 
| 3 3 | 
             
            clarifai/errors.py,sha256=RwzTajwds51wLD0MVlMC5kcpBnzRpreDLlazPSBZxrg,2605
         | 
| 4 4 | 
             
            clarifai/versions.py,sha256=jctnczzfGk_S3EnVqb2FjRKfSREkNmvNEwAAa_VoKiQ,222
         | 
| @@ -25,7 +25,7 @@ clarifai/constants/search.py,sha256=yYEqTaFg-KdnpJE_Ytp-EPVHIIC395iNtZrpVlLIf4o, | |
| 25 25 | 
             
            clarifai/constants/workflow.py,sha256=cECq1xdvf44MCdtK2AbkiuuwhyL-6OWZdQfYbsLKy_o,33
         | 
| 26 26 | 
             
            clarifai/datasets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
         | 
| 27 27 | 
             
            clarifai/datasets/export/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
         | 
| 28 | 
            -
            clarifai/datasets/export/inputs_annotations.py,sha256= | 
| 28 | 
            +
            clarifai/datasets/export/inputs_annotations.py,sha256=7c6HWdATI4aPCRoCPZetUBNNEz9dBhbyYX1QqX-xYe4,9744
         | 
| 29 29 | 
             
            clarifai/datasets/upload/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
         | 
| 30 30 | 
             
            clarifai/datasets/upload/base.py,sha256=IP4sdBRfThk2l0W1rDWciFrAJnKwVsM-gu4zEslJ2_E,2198
         | 
| 31 31 | 
             
            clarifai/datasets/upload/features.py,sha256=oq0PGpAw8LEafiSkdMMl0yn-NJeZ7K_CKzpJ71b0H40,1731
         | 
| @@ -107,9 +107,9 @@ clarifai/workflows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF | |
| 107 107 | 
             
            clarifai/workflows/export.py,sha256=vICRhIreqDSShxLKjHNM2JwzKsf1B4fdXB0ciMcA70k,1945
         | 
| 108 108 | 
             
            clarifai/workflows/utils.py,sha256=nGeB_yjVgUO9kOeKTg4OBBaBz-AwXI3m-huSVj-9W18,1924
         | 
| 109 109 | 
             
            clarifai/workflows/validate.py,sha256=yJq03MaJqi5AK3alKGJJBR89xmmjAQ31sVufJUiOqY8,2556
         | 
| 110 | 
            -
            clarifai-10.8. | 
| 111 | 
            -
            clarifai-10.8. | 
| 112 | 
            -
            clarifai-10.8. | 
| 113 | 
            -
            clarifai-10.8. | 
| 114 | 
            -
            clarifai-10.8. | 
| 115 | 
            -
            clarifai-10.8. | 
| 110 | 
            +
            clarifai-10.8.1.dist-info/LICENSE,sha256=mUqF_d12-qE2n41g7C5_sq-BMLOcj6CNN-jevr15YHU,555
         | 
| 111 | 
            +
            clarifai-10.8.1.dist-info/METADATA,sha256=SNqu6kHtCR51M0hlhbjOf9MhhIqjbsF4st60-QB3omU,19405
         | 
| 112 | 
            +
            clarifai-10.8.1.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
         | 
| 113 | 
            +
            clarifai-10.8.1.dist-info/entry_points.txt,sha256=qZOr_MIPG0dBBE1zringDJS_wXNGTAA_SQ-zcbmDHOw,82
         | 
| 114 | 
            +
            clarifai-10.8.1.dist-info/top_level.txt,sha256=wUMdCQGjkxaynZ6nZ9FAnvBUCgp5RJUVFSy2j-KYo0s,9
         | 
| 115 | 
            +
            clarifai-10.8.1.dist-info/RECORD,,
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         |