ML-TANGO / TANGO

public repo for TANGO (Target Aware No-code neural network Generation and Operation framework)
Other
68 stars 20 forks source link

Improvement request on weda labelling build process #41

Closed ML-TANGO closed 2 weeks ago

ML-TANGO commented 1 year ago

I have noticed that labelling build process repeatedly uninstall and install the several packages as follows:

 RUN /var/app/config/package_install.sh 
...
 #     Found existing installation: joblib 1.2.0
 => => #     Uninstalling joblib-1.2.0:
 => => #       Successfully uninstalled joblib-1.2.0
 => => # Successfully installed joblib-1.0.1
 => => # WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead:
 => => # https://pip.pypa.io/warnings/venv
...
=> => #     Found existing installation: requests 2.28.1
 => => #     Uninstalling requests-2.28.1:
 => => #       Successfully uninstalled requests-2.28.1
 => => # Successfully installed requests-2.24.0
 => => # WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead:
 => => # https://pip.pypa.io/warnings/venv
...
=> => #     Found existing installation: rsa 4.9
 => => #     Uninstalling rsa-4.9:
 => => #       Successfully uninstalled rsa-4.9
 => => # Successfully installed rsa-4.6
 => => # WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead:
 => => # https://pip.pypa.io/warnings/venv
...
 => => #     Uninstalling tensorboard-plugin-wit-1.8.1:
 => => #       Successfully uninstalled tensorboard-plugin-wit-1.8.1
 => => # Successfully installed tensorboard-plugin-wit-1.7.0
 => => # WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead:
 => => # https://pip.pypa.io/warnings/venv
 => => # Collecting tensorflow==2.3.1
...
=> => #     Found existing installation: threadpoolctl 3.1.0
 => => #     Uninstalling threadpoolctl-3.1.0:
 => => #       Successfully uninstalled threadpoolctl-3.1.0
 => => # Successfully installed threadpoolctl-2.1.0
 => => # WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead:
 => => # https://pip.pypa.io/warnings/venv

RUN /var/app/config/package_install.sh result in so much build time for labelling image.

Hence, I kindly request the weda consider above problem and prepare improvement.