Ajout du serveur Facing AI : engine, router, module kb, lancement serveur
This commit is contained in:
1 parent
1d21c57acb
commit
f5841fa933
21 files changed
+2489
No files matched your search
@@ -0,0 +1,20 @@
|
||||
@'
|
||||
@echo off
|
||||
cd /d "%~dp0"
|
||||
echo Dossier du serveur : %CD%
|
||||
|
||||
set FACING_KB=kb_facing
|
||||
set FACING_DATA=data_facing
|
||||
set FACING_BACKBONE=efficientnet
|
||||
set FACING_DETECTOR=detector\best.pt
|
||||
rem set FACING_WEIGHTS=C:\chemin\vers\vos\poids.pt
|
||||
|
||||
if not exist data_facing mkdir data_facing
|
||||
|
||||
rem Python de l'environnement conda product-detection (sinon python du PATH)
|
||||
set PYEXE=%USERPROFILE%\miniconda3\envs\product-detection\python.exe
|
||||
if not exist "%PYEXE%" set PYEXE=python
|
||||
|
||||
"%PYEXE%" -m uvicorn api_server:app --host 0.0.0.0 --port 2000
|
||||
pause
|
||||
'@ | Set-Content lancer_serveur.bat -Encoding ascii
|
||||
Reference in new issue
Block a user