supervisely 6.73.318__py3-none-any.whl → 6.73.319__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.
- supervisely/nn/inference/inference.py +6 -1
 - {supervisely-6.73.318.dist-info → supervisely-6.73.319.dist-info}/METADATA +1 -1
 - {supervisely-6.73.318.dist-info → supervisely-6.73.319.dist-info}/RECORD +7 -7
 - {supervisely-6.73.318.dist-info → supervisely-6.73.319.dist-info}/LICENSE +0 -0
 - {supervisely-6.73.318.dist-info → supervisely-6.73.319.dist-info}/WHEEL +0 -0
 - {supervisely-6.73.318.dist-info → supervisely-6.73.319.dist-info}/entry_points.txt +0 -0
 - {supervisely-6.73.318.dist-info → supervisely-6.73.319.dist-info}/top_level.txt +0 -0
 
| 
         @@ -2935,7 +2935,7 @@ class Inference: 
     | 
|
| 
       2935 
2935 
     | 
    
         
             
                    parser = argparse.ArgumentParser(description="Run Inference Serving")
         
     | 
| 
       2936 
2936 
     | 
    
         | 
| 
       2937 
2937 
     | 
    
         
             
                    # Positional args
         
     | 
| 
       2938 
     | 
    
         
            -
                    parser.add_argument("mode",  
     | 
| 
      
 2938 
     | 
    
         
            +
                    parser.add_argument("mode", nargs="?", type=str, help="Mode of operation: 'deploy' or 'predict'")
         
     | 
| 
       2939 
2939 
     | 
    
         
             
                    parser.add_argument("input", nargs="?", type=str, help="Local path to input data")
         
     | 
| 
       2940 
2940 
     | 
    
         | 
| 
       2941 
2941 
     | 
    
         
             
                    # Deploy args
         
     | 
| 
         @@ -3018,6 +3018,11 @@ class Inference: 
     | 
|
| 
       3018 
3018 
     | 
    
         | 
| 
       3019 
3019 
     | 
    
         
             
                    # Parse arguments
         
     | 
| 
       3020 
3020 
     | 
    
         
             
                    args, _ = parser.parse_known_args()
         
     | 
| 
      
 3021 
     | 
    
         
            +
                    if args.mode is None:
         
     | 
| 
      
 3022 
     | 
    
         
            +
                        return None, False
         
     | 
| 
      
 3023 
     | 
    
         
            +
                    elif args.mode not in ["predict", "deploy"]:
         
     | 
| 
      
 3024 
     | 
    
         
            +
                        return None, False
         
     | 
| 
      
 3025 
     | 
    
         
            +
             
     | 
| 
       3021 
3026 
     | 
    
         
             
                    if args.model is None:
         
     | 
| 
       3022 
3027 
     | 
    
         
             
                        if len(self.pretrained_models) == 0:
         
     | 
| 
       3023 
3028 
     | 
    
         
             
                            raise ValueError("No pretrained models found.")
         
     | 
| 
         @@ -876,7 +876,7 @@ supervisely/nn/benchmark/visualization/widgets/table/__init__.py,sha256=47DEQpj8 
     | 
|
| 
       876 
876 
     | 
    
         
             
            supervisely/nn/benchmark/visualization/widgets/table/table.py,sha256=atmDnF1Af6qLQBUjLhK18RMDKAYlxnsuVHMSEa5a-e8,4319
         
     | 
| 
       877 
877 
     | 
    
         
             
            supervisely/nn/inference/__init__.py,sha256=QFukX2ip-U7263aEPCF_UCFwj6EujbMnsgrXp5Bbt8I,1623
         
     | 
| 
       878 
878 
     | 
    
         
             
            supervisely/nn/inference/cache.py,sha256=q4F7ZRzZghNWSVFClXEIHNMNW4PK6xddYckCFUgyhCo,32027
         
     | 
| 
       879 
     | 
    
         
            -
            supervisely/nn/inference/inference.py,sha256= 
     | 
| 
      
 879 
     | 
    
         
            +
            supervisely/nn/inference/inference.py,sha256=RJPTCd-y5FtQ234Zdbj7D6stsR3ZpVo8GLpiXXAr2Bg,158665
         
     | 
| 
       880 
880 
     | 
    
         
             
            supervisely/nn/inference/session.py,sha256=jmkkxbe2kH-lEgUU6Afh62jP68dxfhF5v6OGDfLU62E,35757
         
     | 
| 
       881 
881 
     | 
    
         
             
            supervisely/nn/inference/video_inference.py,sha256=8Bshjr6rDyLay5Za8IB8Dr6FURMO2R_v7aELasO8pR4,5746
         
     | 
| 
       882 
882 
     | 
    
         
             
            supervisely/nn/inference/gui/__init__.py,sha256=wCxd-lF5Zhcwsis-wScDA8n1Gk_1O00PKgDviUZ3F1U,221
         
     | 
| 
         @@ -1075,9 +1075,9 @@ supervisely/worker_proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ 
     | 
|
| 
       1075 
1075 
     | 
    
         
             
            supervisely/worker_proto/worker_api_pb2.py,sha256=VQfi5JRBHs2pFCK1snec3JECgGnua3Xjqw_-b3aFxuM,59142
         
     | 
| 
       1076 
1076 
     | 
    
         
             
            supervisely/worker_proto/worker_api_pb2_grpc.py,sha256=3BwQXOaP9qpdi0Dt9EKG--Lm8KGN0C5AgmUfRv77_Jk,28940
         
     | 
| 
       1077 
1077 
     | 
    
         
             
            supervisely_lib/__init__.py,sha256=7-3QnN8Zf0wj8NCr2oJmqoQWMKKPKTECvjH9pd2S5vY,159
         
     | 
| 
       1078 
     | 
    
         
            -
            supervisely-6.73. 
     | 
| 
       1079 
     | 
    
         
            -
            supervisely-6.73. 
     | 
| 
       1080 
     | 
    
         
            -
            supervisely-6.73. 
     | 
| 
       1081 
     | 
    
         
            -
            supervisely-6.73. 
     | 
| 
       1082 
     | 
    
         
            -
            supervisely-6.73. 
     | 
| 
       1083 
     | 
    
         
            -
            supervisely-6.73. 
     | 
| 
      
 1078 
     | 
    
         
            +
            supervisely-6.73.319.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
         
     | 
| 
      
 1079 
     | 
    
         
            +
            supervisely-6.73.319.dist-info/METADATA,sha256=WUoELTCne2bnj7Dh4zB0DXeDtgoEl1BCmxN0jRtjxCo,33596
         
     | 
| 
      
 1080 
     | 
    
         
            +
            supervisely-6.73.319.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
         
     | 
| 
      
 1081 
     | 
    
         
            +
            supervisely-6.73.319.dist-info/entry_points.txt,sha256=U96-5Hxrp2ApRjnCoUiUhWMqijqh8zLR03sEhWtAcms,102
         
     | 
| 
      
 1082 
     | 
    
         
            +
            supervisely-6.73.319.dist-info/top_level.txt,sha256=kcFVwb7SXtfqZifrZaSE3owHExX4gcNYe7Q2uoby084,28
         
     | 
| 
      
 1083 
     | 
    
         
            +
            supervisely-6.73.319.dist-info/RECORD,,
         
     | 
| 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     |