§
    ù¸¸j£E  ã                  óô  — d Z ddlmZ ddlZddlZddlZddlZddlmZ ddl	m
Z
 ddlmZmZmZ ddlmZ ddlmZ ddlZd	ej        v r e
ej        d	         d
¦  «        anHdej        v r e
ej        d         dd
¦  «        an& e
ej                             d¦  «        ddd
¦  «        a G d„ d¦  «        Zd6d„Zd7d„Zd8d„Zd9d„Zd:d;d„Zd<d!„Z	 	 	 d=d>d(„Z	 d?d@d+„Z 	 	 	 	 dAdBd/„Z!	 	 	 	 dAdCd0„Z"	 	 	 	 	 dDdEd5„Z#dS )FzJONNX Model Hub

This implements the python client for the ONNX model hub.
é    )ÚannotationsN)ÚBytesIO)Újoin)ÚIOÚAnyÚcast)Ú	HTTPError)ÚurlopenÚ	ONNX_HOMEÚhubÚXDG_CACHE_HOMEÚonnxú~z.cachec                  ó*   — e Zd ZdZdd„Zdd„Zdd	„Zd
S )Ú	ModelInfoaM  A class to represent a model's property and metadata in the ONNX Hub.
    It extracts model name, path, sha, tags, etc. from the passed in raw_model_info dict.

    Attributes:
        model: The name of the model.
        model_path: The path to the model, relative to the model zoo (https://github.com/onnx/models/) repo root.
        metadata: Additional metadata of the model, such as the size of the model, IO ports, etc.
        model_sha: The SHA256 digest of the model file.
        tags: A set of tags associated with the model.
        opset: The opset version of the model.
    Úraw_model_infoúdict[str, Any]ÚreturnÚNonec                óT  — t          t          |d         ¦  «        | _        t          t          |d         ¦  «        | _        t          t          t          t
          f         |d         ¦  «        | _        d| _        d| j        v r%t          t          | j        d         ¦  «        | _        t          ¦   «         | _	        d| j        v r=t          t          t          t                   | j        d         ¦  «        ¦  «        | _	        t          t          |d         ¦  «        | _        || _        dS )zgInitializer.

        Args:
            raw_model_info: A JSON dict containing the model info.
        ÚmodelÚ
model_pathÚmetadataNÚ	model_shaÚtagsÚopset_version)r   Ústrr   r   Údictr   r   r   Úsetr   ÚlistÚintÚopsetr   )Úselfr   s     úX/root/private/project/pallet_detection_v2/.venv/lib/python3.11/site-packages/onnx/hub.pyÚ__init__zModelInfo.__init__,   sÚ   € õ �#˜~¨gÔ6Ñ7Ô7ˆŒ
å�s N°<Ô$@ÑAÔAˆŒÝ(,­Tµ#µs°(¬^¸^ÈJÔ=WÑ(XÔ(XˆŒØ%)ˆŒØ˜$œ-Ð'Ð'Ý!¥# t¤}°[Ô'AÑBÔBˆDŒNå!™eœeˆŒ	Ø�T”]Ð"Ð"Ý�D¥¥c¤¨D¬M¸&Ô,AÑBÔBÑCÔCˆDŒIå�#˜~¨oÔ>Ñ?Ô?ˆŒ
Ø.<ˆÔÐÐó    r   c           	     óH   — d| j         › d| j        › d| j        › d| j        › d�	S )NzModelInfo(model=z, opset=z, path=z, metadata=ú))r   r"   r   r   ©r#   s    r$   Ú__str__zModelInfo.__str__A   s5   € Øu $¤*ÐuÐu°d´jÐuÐuÈÌÐuÐuÐeiÔerÐuÐuÐuÐur&   c                ó*   — |                       ¦   «         S ©N)r*   r)   s    r$   Ú__repr__zModelInfo.__repr__D   s   € Ø�|Š|‰~Œ~Ðr&   N)r   r   r   r   ©r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r%   r*   r-   © r&   r$   r   r      s^   € € € € € ð
ð 
ð=ð =ð =ð =ð*vð vð vð vðð ð ð ð ð r&   r   Únew_dirr   r   r   c                ó
   — | a dS )zkSets the current ONNX hub cache location.

    Args:
        new_dir: Location of new model hub cache.
    N©Ú_ONNX_HUB_DIR)r4   s    r$   Úset_dirr8   H   s   € ð €M€M€Mr&   c                 ó   — t           S )znGets the current ONNX hub cache location.

    Returns:
        The location of the ONNX hub model cache.
    r6   r3   r&   r$   Úget_dirr:   R   s
   € õ Ðr&   Úrepoútuple[str, str, str]c                ó   — |                       d¦  «        d                               d¦  «        d         }|                       d¦  «        d                               d¦  «        d         }d| v r|                       d¦  «        d         }nd}|||fS )zCGets the repo owner, name and ref from a repo specification string.ú:r   ú/é   Úmain)Úsplit©r;   Ú
repo_ownerÚ	repo_nameÚrepo_refs       r$   Ú_parse_repo_inforG   [   s�   € à—’˜C‘” Ô#×)Ò)¨#Ñ.Ô.¨qÔ1€JØ—
’
˜3‘” Ô"×(Ò(¨Ñ-Ô-¨aÔ0€IØ
ˆd€{€{Ø—:’:˜c‘?”? 1Ô%ˆˆàˆØ�y (Ð*Ð*r&   Úboolc                óL   — t          | ¦  «        \  }}}|dk    o|dk    o|dk    S )zzVerifies whether the given model repo can be trusted.
    A model repo can be trusted if it matches onnx/models:main.
    r   ÚmodelsrA   ©rG   rC   s       r$   Ú_verify_repo_refrL   f   s7   € õ '7°tÑ&<Ô&<Ñ#€J�	˜8Ø˜&Ò ÐV y°HÒ'<ÐVÀ8ÈvÒCUÐVr&   FÚlfsc                ó\   — t          | ¦  «        \  }}}|rd|› d|› d|› d�S d|› d|› d|› d�S )aT  Gets the base github url from a repo specification string.

    Args:
        repo: The location of the model repo in format
            "user/repo[:branch]". If no branch is found will default to
            "main".
        lfs: Whether the url is for downloading lfs models.

    Returns:
        The base github url for downloading.
    z*https://media.githubusercontent.com/media/r?   z"https://raw.githubusercontent.com/rK   )r;   rM   rD   rE   rF   s        r$   Ú_get_base_urlrO   n   sd   € õ '7°tÑ&<Ô&<Ñ#€J�	˜8à
ð aØ`¸JÐ`Ð`ÈÐ`Ð`ÐU]Ð`Ð`Ð`Ð`ØT°
ÐTÐT¸YÐTÐTÈÐTÐTÐTÐTr&   ÚurlÚ	file_namec                ó
  — d}t          | ¦  «        5 }t          |d¦  «        5 }	 |                     |¦  «        }|sn|                     |¦  «         Œ.	 ddd¦  «         n# 1 swxY w Y   ddd¦  «         dS # 1 swxY w Y   dS )z°Downloads the file with specified file_name from the url.

    Args:
        url: A url of download link.
        file_name: A specified file name for the downloaded file.
    i @  ÚwbTN)r
   ÚopenÚreadÚwrite)rP   rQ   Ú
chunk_sizeÚresponseÚfÚchunks         r$   Ú_download_filer[   �   s  € ð €JÝ	�‰Œð ˜¥4¨	°4Ñ#8Ô#8ð ¸Að	Ø—M’M *Ñ-Ô-ˆEØð ØØ�GŠG�E‰NŒNˆNð		ð ðð ð ñ ô ð ð ð ð ð ð øøøð ð ð ð ð ð ð ñ ô ð ð ð ð ð ð ð øøøð ð ð ð ð ð s4   ’A8£0A ÁA8Á A$	Á$A8Á'A$	Á(A8Á8A<Á?A<úonnx/models:mainr   ú
str | Noner   úlist[str] | Noneúlist[ModelInfo]c                ó.  ‡— t          | ¦  «        }|dz   }	 t          |¦  «        5 }d„ t          j        t	          t
          t                   |¦  «        ¦  «        D ¦   «         }ddd¦  «         n# 1 swxY w Y   n%# t          $ r}t          d|› �¦  «        |‚d}~ww xY w‰€|nˆfd„|D ¦   «         }|€|S d„ |D ¦   «         }	g }
|D ]N}d„ |j	        D ¦   «         }t          |	                     |¦  «        ¦  «        dk    r|
                     |¦  «         ŒO|
S )	aó  Gets the list of model info consistent with a given name and tags

    Args:
        repo: The location of the model repo in format
            "user/repo[:branch]". If no branch is found will default to
            "main"
        model: The name of the model to search for. If `None`, will
            return all models with matching tags.
        tags: A list of tags to filter models by. If `None`, will return
            all models with matching name.

    Returns:
        ``ModelInfo``s.
    zONNX_HUB_MANIFEST.jsonc                ó,   — g | ]}t          |¦  «        ‘ŒS r3   )r   )Ú.0Úinfos     r$   ú
<listcomp>zlist_models.<locals>.<listcomp>©   s+   € ð )ð )ð )Ø$(•	˜$‘”ð)ð )ð )r&   NzCould not find manifest at c                ór   •— g | ]3}|j                              ¦   «         ‰                     ¦   «         k    ¯1|‘Œ4S r3   )r   Úlower)rb   Úmr   s     €r$   rd   zlist_models.<locals>.<listcomp>³   s5   ø€ ÐFÐFÐF�A Q¤W§]¢]¡_¤_¸¿º¹¼Ò%EÐ%EˆaÐ%EÐ%EÐ%Er&   c                ó6   — h | ]}|                      ¦   «         ’ŒS r3   ©rf   ©rb   Úts     r$   ú	<setcomp>zlist_models.<locals>.<setcomp>º   s    € Ð.Ð.Ð. A�a—g’g‘i”iÐ.Ð.Ð.r&   c                ó6   — h | ]}|                      ¦   «         ’ŒS r3   ri   rj   s     r$   rl   zlist_models.<locals>.<setcomp>½   s    € Ð0Ð0Ð0 A�a—g’g‘i”iÐ0Ð0Ð0r&   r   )rO   r
   ÚjsonÚloadr   r   r   r	   ÚAssertionErrorr   ÚlenÚintersectionÚappend)r;   r   r   Úbase_urlÚmanifest_urlrX   ÚmanifestÚeÚmatching_modelsÚcanonical_tagsÚmatching_info_listrg   Ú
model_tagss    `           r$   Úlist_modelsr|   ’   s©  ø€ õ& ˜TÑ"Ô"€HØÐ6Ñ6€LðRÝ�\Ñ"Ô"ð 	 hð)ð )Ý,0¬Iµd½2½c¼7ÀHÑ6MÔ6MÑ,NÔ,Nð)ñ )ô )ˆHð	ð 	ð 	ñ 	ô 	ð 	ð 	ð 	ð 	ð 	ð 	øøøð 	ð 	ð 	ð 	øøõ ð Rð Rð RÝÐI¸<ÐIÐIÑJÔJÐPQÐQøøøøðRøøøð ˆ=ð 	ˆàFÐFÐFÐF˜ÐFÑFÔFð ð €|ØÐà.Ð.¨Ð.Ñ.Ô.€NØ*,ÐØð )ð )ˆØ0Ð0¨¬Ð0Ñ0Ô0ˆ
Ýˆ~×*Ò*¨:Ñ6Ô6Ñ7Ô7¸!Ò;Ð;Ø×%Ò% aÑ(Ô(Ð(øØÐs:   —A; ¦=A/Á#A; Á/A3Á3A; Á6A3Á7A; Á;
BÂBÂBr"   ú
int | Nonec                óì   ‡— t          || ¦  «        }|st          d| › �¦  «        ‚‰€t          |d„ ¬¦  «        }n3ˆfd„|D ¦   «         }|s#d„ |D ¦   «         }t          | › d‰› d|› �¦  «        ‚|d	         S )
aÛ  Gets the model info matching the given name and opset.

    Args:
        model: The name of the onnx model in the manifest. This field is
            case-sensitive
        repo: The location of the model repo in format
            "user/repo[:branch]". If no branch is found will default to
            "main"
        opset: The opset of the model to get. The default of `None` will
            return the model with largest opset.

    Returns:
        ``ModelInfo``.
    zNo models found with name Nc                ó   — | j          S r,   ©r"   )rg   s    r$   ú<lambda>z get_model_info.<locals>.<lambda>Ù   s
   € ÀÄÀ€ r&   )Úkeyc                ó*   •— g | ]}|j         ‰k    ¯|‘ŒS r3   r€   )rb   rg   r"   s     €r$   rd   z"get_model_info.<locals>.<listcomp>Û   s%   ø€ ÐJÐJÐJ ¸¼ÀEÒ9IÐ9I˜1Ð9IÐ9IÐ9Ir&   c                ó   — g | ]	}|j         ‘Œ
S r3   r€   )rb   rg   s     r$   rd   z"get_model_info.<locals>.<listcomp>Ý   s   € Ð=Ð=Ð=¨˜AœGÐ=Ð=Ð=r&   z has no version with opset z. Valid opsets: r   )r|   rp   Úsorted)r   r;   r"   rx   Úselected_modelsÚvalid_opsetss     `   r$   Úget_model_inforˆ   Ã   s½   ø€ õ" " $¨Ñ.Ô.€OØð CÝÐA¸%ÐAÐAÑBÔBÐBà€}Ý  Ð6HÐ6HÐIÑIÔIˆˆàJÐJÐJÐJ oÐJÑJÔJˆØð 	Ø=Ð=¨_Ð=Ñ=Ô=ˆLÝ ØÐZÐZ°UÐZÐZÈLÐZÐZñô ð ð ˜1ÔÐr&   Úforce_reloadÚsilentúonnx.ModelProto | Nonec           	     ó¼  — t          | ||¦  «        }|j                             d¦  «        }|j        �|j        › d|d         › �|d<   t	          t
          t          j                             |¦  «        ¦  «        }|st          j         	                    |¦  «        sØt          |¦  «        sX|sVd|› d�}t          |t          j        ¬¦  «         t          d¦  «         t          ¦   «                              ¦   «         d	k    rdS t          j        t          j                             |¦  «        d
¬¦  «         t%          |d
¦  «        }	t          d| › d|› �¦  «         t'          |	|j        z   |¦  «         nt          d| › d|› �¦  «         t)          |d¦  «        5 }
|
                     ¦   «         }ddd¦  «         n# 1 swxY w Y   |j        �Tt-          j        |¦  «                             ¦   «         }||j        k    s#t3          d|j        › d|› d|j        › d�¦  «        ‚t7          j        t;          t<          t>                   tA          |¦  «        ¦  «        ¦  «        S )a±  Downloads a model by name from the onnx model hub.

    Args:
        model: The name of the onnx model in the manifest. This field is
            case-sensitive
        repo: The location of the model repo in format
            "user/repo[:branch]". If no branch is found will default to
            "main"
        opset: The opset of the model to download. The default of `None`
            automatically chooses the largest opset
        force_reload: Whether to force the model to re-download even if
            its already found in the cache
        silent: Whether to suppress the warning message if the repo is
            not trusted.

    Returns:
        ModelProto or None
    r?   NÚ_éÿÿÿÿúThe model repo specification ú_ is not trusted and may contain security vulnerabilities. Only continue if you trust this repo.©ÚfileúContinue?[y/n]ÚyT©Úexist_okúDownloading ú to local path úUsing cached ú model from ÚrbúThe cached model ú has SHA256 ú while checksum should be úh. The model in the hub may have been updated. Use force_reload to download the model from the model hub.)!rˆ   r   rB   r   r   r7   ÚosÚsepÚpathÚexistsrL   ÚprintÚsysÚstderrÚinputrf   ÚmakedirsÚdirnamerO   r[   rT   rU   ÚhashlibÚsha256Ú	hexdigestrp   r   r   ro   r   r   Úbytesr   )r   r;   r"   r‰   rŠ   Úselected_modelÚlocal_model_path_arrÚlocal_model_pathÚmsgÚlfs_urlrY   Úmodel_bytesÚdownloaded_shas                r$   ro   ro   ä   s¯  € õ2 $ E¨4°Ñ7Ô7€NØ)Ô4×:Ò:¸3Ñ?Ô?ÐØÔÐ+àÔ'ÐDÐDÐ*>¸rÔ*BÐDÐDð 	˜RÑ õ �M­2¬6¯;ª;Ð7KÑ+LÔ+LÑMÔMÐàð E�2œ7Ÿ>š>Ð*:Ñ;Ô;ð EÝ Ñ%Ô%ð 	¨fð 	ð X°$ð  Xð  Xð  XˆCå�#�CœJÐ'Ñ'Ô'Ð'ÝÐ"Ñ#Ô#Ð#Ý‰wŒw�}Š}‰Œ #Ò%Ð%Ø�tå
Œ•B”G—O’OÐ$4Ñ5Ô5ÀÐEÑEÔEÐEÝ  dÑ+Ô+ˆÝÐE˜UÐEÐEÐ3CÐEÐEÑFÔFÐFÝ�w Ô!:Ñ:Ð<LÑMÔMÐMÐMåÐC˜eÐCÐCÐ1AÐCÐCÑDÔDÐDå	Ð Ñ	%Ô	%ð ¨Ø—f’f‘h”hˆðð ð ñ ô ð ð ð ð ð ð øøøð ð ð ð ð ÔÐ+Ý œ¨Ñ4Ô4×>Ò>Ñ@Ô@ˆØ Ô!9Ò9Ð9Ý ð9 NÔ$8ð 9ð 9Ànð 9ð 9Ø,:Ô,Dð9ð 9ð 9ñô ð õ Œ9•T�"�Uœ)¥W¨[Ñ%9Ô%9Ñ:Ô:Ñ;Ô;Ð;s   ÆF9Æ9F=Ç F=c           	     ó  — t          | ||¦  «        }|j        d                              d¦  «        }|j        d         }|�|› d|d         › �|d<   t          t          t
          j                             |¦  «        ¦  «        }|st
          j                             |¦  «        sÞt          |¦  «        sX|sVd|› d�}	t          |	t          j        ¬	¦  «         t          d
¦  «         t          ¦   «                              ¦   «         dk    rdS t          j        t
          j                             |¦  «        d¬¦  «         t#          |d¦  «        }
t          d| › d|› �¦  «         t%          |
|j        d         z   |¦  «         nt          d| › d|› �¦  «         t'          |d¦  «        5 }|                     ¦   «         }ddd¦  «         n# 1 swxY w Y   |�Jt+          j        |¦  «                             ¦   «         }||k    st1          d|j        › d|› d|› d�¦  «        ‚|dt5          |¦  «        t5          d¦  «        z
  …         }t6          j                             ||¦  «         |dz   t          j        |¦  «        d         z   }|S )aw  Downloads a model along with test data by name from the onnx model hub and returns the directory to which the files have been extracted.
    Users are responsible for making sure the model comes from a trusted source, and the data is safe to be extracted.

    Args:
        model: The name of the onnx model in the manifest. This field is
            case-sensitive
        repo: The location of the model repo in format
            "user/repo[:branch]". If no branch is found will default to
            "main"
        opset: The opset of the model to download. The default of `None`
            automatically chooses the largest opset
        force_reload: Whether to force the model to re-download even if
            its already found in the cache
        silent: Whether to suppress the warning message if the repo is
            not trusted.

    Returns:
        str or None
    Úmodel_with_data_pathr?   Úmodel_with_data_shaNr�   rŽ   r�   r�   r‘   r“   r”   Tr•   r—   r˜   r™   rš   r›   rœ   r�   rž   rŸ   r   z.tar.gz)rˆ   r   rB   r   r7   r    r¡   r¢   r£   rL   r¤   r¥   r¦   r§   rf   r¨   r©   rO   r[   rT   rU   rª   r«   r¬   rp   r   rq   r   ÚutilsÚ_extract_model_safeÚlistdir)r   r;   r"   r‰   rŠ   r®   Úlocal_model_with_data_path_arrr·   Úlocal_model_with_data_pathr±   r²   rY   Úmodel_with_data_bytesr´   Úlocal_model_with_data_dir_pathr¶   s                   r$   Údownload_model_with_test_datar¿   %  s)  € õ4 $ E¨4°Ñ7Ô7€Nà%3Ô%<Øô&ç‚eˆC�j„jð #ð )Ô1Ð2GÔHÐàÐ&à"ÐIÐIÐ%CÀBÔ%GÐIÐIð 	' rÑ*õ "&Ý•r”v—{’{Ð#AÑBÔBñ"ô "Ðð ð O�2œ7Ÿ>š>Ð*DÑEÔEð OÝ Ñ%Ô%ð 	¨fð 	ð X°$ð  Xð  Xð  XˆCå�#�CœJÐ'Ñ'Ô'Ð'ÝÐ"Ñ#Ô#Ð#Ý‰wŒw�}Š}‰Œ #Ò%Ð%Ø�tå
Œ•B”G—O’OÐ$>Ñ?Ô?È$ÐOÑOÔOÐOÝ  dÑ+Ô+ˆÝÐO˜UÐOÐOÐ3MÐOÐOÑPÔPÐPÝØ�nÔ-Ð.DÔEÑEØ&ñ	
ô 	
ð 	
ð 	
õ
 	ÐM˜eÐMÐMÐ1KÐMÐMÑNÔNÐNå	Ð(¨$Ñ	/Ô	/ð )°1Ø !§¢¡¤Ðð)ð )ð )ñ )ô )ð )ð )ð )ð )ð )ð )øøøð )ð )ð )ð )ð Ð&Ý œÐ(=Ñ>Ô>×HÒHÑJÔJˆØÐ!4Ò4Ð4Ý ð9 NÔ$8ð 9ð 9Ànð 9ð 9Ø,?ð9ð 9ð 9ñô ð ð &@Ø	�CÐ*Ñ+Ô+­c°)©n¬nÑ<Ð<ô&Ð"õ 	„J×"Ò"Ø"Ð$Bñô ð ð 	'Ø
ñ	å
Œ*Ð3Ñ
4Ô
4°QÔ
7ñ	8ð ð  Ðs   Æ'GÇGÇGÚnetwork_modelÚpreprocessing_modelÚnetwork_repoÚpreprocessing_repoc                ój  — t          |||||¦  «        }|€t          d|› �¦  «        ‚t          | ||||¦  «        }|€t          d| › �¦  «        ‚t          ¦   «         }	i }
i }|j        D ]5}|j        dk    rdn|j        }|	                     |¦  «         |j        |
|<   Œ6|j        D ]5}|j        dk    rdn|j        }|	                     |¦  «         |j        ||<   Œ6d}d}|	D ]^}|dk    r||         }|
|         }Œ||v rA||
v r=||         ||         k    r+t          d|› d| › d	|› d
||         › d|
|         › d�¦  «        ‚Œ_||k    rLt          j	         
                    ||¦  «        }|j        |_        t          j                             |¦  «         nQ||k    rKt          j	         
                    ||¦  «        }|j        |_        t          j                             |¦  «         d„ t          |j        j        |j        j        ¦  «        D ¦   «         }t          j                             |||¬¦  «        }|S )aå  Builds a composite model including data preprocessing by downloading a network and a preprocessing model
    and combine it into a single model

    Args:
        network_model: The name of the onnx model in the manifest.
        preprocessing_model: The name of the preprocessing model.
        network_repo: The location of the model repo in format
            "user/repo[:branch]". If no branch is found will default to
            "main"
        preprocessing_repo: The location of the proprocessing model repo in format
            "user/repo[:branch]". If no branch is found will default to
            "main"
        opset: The opset of the model to download. The default of `None`
            automatically chooses the largest opset
        force_reload: Whether to force the model to re-download even if
            its already found in the cache
        silent: Whether to suppress the warning message if the repo is
            not trusted.

    Returns:
        ModelProto or None
    Nz(Could not load the preprocessing model: z"Could not load the network model: Ú zai.onnxrŽ   zCan not merge z and z: because they contain different opset versions for domain z (z) and z\). Only the default domain can be automatically converted to the highest version of the two.c                ó0   — g | ]\  }}|j         |j         f‘ŒS r3   )Úname)rb   Ú	out_entryÚin_entrys      r$   rd   z(load_composite_model.<locals>.<listcomp>Ù  s5   € ð ð ð áˆI�xð 
Œ˜œÐ'ðð ð r&   )Úio_map)ro   ÚRuntimeErrorr   Úopset_importÚdomainÚaddÚversionÚ
ValueErrorr   Úversion_converterÚconvert_versionÚ
ir_versionÚcheckerÚcheck_modelÚzipÚgraphÚoutputr§   ÚcomposeÚmerge_models)rÀ   rÁ   rÂ   rÃ   r"   r‰   rŠ   ÚpreprocessingÚnetworkÚall_domainsÚdomains_to_version_networkÚ domains_to_version_preprocessingÚopset_import_entryrÍ   Úpreprocessing_opset_versionÚnetwork_opset_versionrÊ   Úmodel_with_preprocessings                     r$   Úload_composite_modelrä   ~  s"  € õ> ØÐ/°¸Àfñô €Mð ÐÝØLÐ7JÐLÐLñ
ô 
ð 	
õ �= ,°°|ÀVÑLÔL€GØ€ÝÐOÀÐOÐOÑPÔPÐPå™EœE€KØ13ÐØ79Ð$à%Ô2ð Hð HÐà+Ô2°bÒ8Ð8ˆIˆIÐ>PÔ>Wð 	ð 	�Š˜ÑÔÐØ-?Ô-GÐ" 6Ñ*Ð*à+Ô8ð Nð NÐà+Ô2°bÒ8Ð8ˆIˆIÐ>PÔ>Wð 	ð 	�Š˜ÑÔÐØ3EÔ3MÐ(¨Ñ0Ð0à"$ÐØÐØð ð ˆØ�YÒÐØ*JÈ6Ô*RÐ'Ø$>¸vÔ$FÐ!Ð!àÐ6Ð6Ð6ØÐ4Ð4Ð4Ø0°Ô8Ø/°Ô7ò8ð 8õ ðMÐ!4ð Mð M¸=ð Mð MØ7=ðMð MØAaÐbhÔAiðMð Mà1°&Ô9ðMð Mð Mñô ð øð #Ð%:Ò:Ð:ÝÔ(×8Ò8ØÐ0ñ
ô 
ˆð +Ô5ˆÔÝŒ× Ò  Ñ)Ô)Ð)Ð)Ø	Ð!<Ò	<Ð	<ÝÔ.×>Ò>ØÐ0ñ
ô 
ˆð $+Ô#5ˆÔ ÝŒ× Ò  Ñ/Ô/Ð/ðð å#& }Ô':Ô'AÀ7Ä=ÔCVÑ#WÔ#Wðñ ô €Fõ
  $œ|×8Ò8Ø�w vð  9ñ  ô  Ðð $Ð#r&   )r4   r   r   r   r.   )r;   r   r   r<   )r;   r   r   rH   )F)r;   r   rM   rH   r   r   )rP   r   rQ   r   r   r   )r\   NN)r;   r   r   r]   r   r^   r   r_   )r\   N)r   r   r;   r   r"   r}   r   r   )r\   NFF)r   r   r;   r   r"   r}   r‰   rH   rŠ   rH   r   r‹   )r   r   r;   r   r"   r}   r‰   rH   rŠ   rH   r   r]   )r\   r\   NFF)rÀ   r   rÁ   r   rÂ   r   rÃ   r   r"   r}   r‰   rH   rŠ   rH   r   r‹   )$r2   Ú
__future__r   rª   rn   r    r¥   Úior   Úos.pathr   Útypingr   r   r   Úurllib.errorr	   Úurllib.requestr
   r   Úenvironr7   r¢   Ú
expanduserr   r8   r:   rG   rL   rO   r[   r|   rˆ   ro   r¿   rä   r3   r&   r$   ú<module>rí      s±  ððð ð
 #Ð "Ð "Ð "Ð "Ð "à €€€Ø €€€Ø 	€	€	€	Ø 
€
€
€
Ø Ð Ð Ð Ð Ð Ø Ð Ð Ð Ð Ð Ø  Ð  Ð  Ð  Ð  Ð  Ð  Ð  Ð  Ð  Ø "Ð "Ð "Ð "Ð "Ð "Ø "Ð "Ð "Ð "Ð "Ð "à €€€à�"”*ÐÐØ�D˜œ KÔ0°%Ñ8Ô8€M€MØ˜œÐ#Ð#Ø�D˜œÐ$4Ô5°v¸uÑEÔE€M€Mà�D˜œ×+Ò+¨CÑ0Ô0°(¸FÀEÑJÔJ€Mð&ð &ð &ð &ð &ñ &ô &ð &ðRð ð ð ðð ð ð ð+ð +ð +ð +ðWð Wð Wð WðUð Uð Uð Uð Uð&ð ð ð ð$ #ØØ!ð.ð .ð .ð .ð .ðd EIðð ð ð ð ðF #ØØØð><ð ><ð ><ð ><ð ><ðF #ØØØðV ð V ð V ð V ð V ðx +Ø0ØØØðc$ð c$ð c$ð c$ð c$ð c$ð c$r&   