a
    6Df                     @   sv   d Z ddlZddlmZ ddlmZ ddlmZ ddlmZ ddlm	Z	 ddl
mZ e Zd	d
 Zedkrre  dS )aK  TensorBoard main module.

This module ties together `tensorboard.program` and
`tensorboard.default_plugins` to provide standard TensorBoard. It's
meant to be tiny and act as little other than a config file. Those
wishing to customize the set of plugins or static assets that
TensorBoard uses can swap out this file with their own.
    N)app)default)main_lib)program)base_plugin)
tb_loggingc               
   C   sv   t   tjt d} ztj| j| j	d W nB t
jyp } z(td| tjd td W Y d}~n
d}~0 0 dS )z#Initializes flags and calls main().)Zplugins)Zflags_parserz	Error: %s)file   N)r   Zglobal_initr   ZTensorBoardr   Zget_pluginsr   runmain	configurer   Z
FlagsErrorprintsysstderrexit)tensorboarde r   ]/nfs/NAS7/SABIOD/METHODE/ermites/ermites_venv/lib/python3.9/site-packages/tensorboard/main.pyrun_main$   s    r   __main__)__doc__r   Zabslr   r   r   r   r   Ztensorboard.pluginsr   Ztensorboard.utilr   Z
get_loggerloggerr   __name__r   r   r   r   <module>   s   	