mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 18:36:32 +00:00
add generating result image to Results directory
This commit is contained in:
+13
-7
@@ -5,9 +5,11 @@ echo Build .net app
|
||||
dotnet build -c Release
|
||||
|
||||
cd Azaion.Suite
|
||||
call upload.cmd Release
|
||||
call upload Release
|
||||
echo %cd%
|
||||
call upload-file %cd%\config.secured.json
|
||||
call upload-file %cd%\config.system.json
|
||||
|
||||
echo Publish .net app
|
||||
dotnet publish -r win-x64 -p:SatelliteResourceLanguages="en" -p:DebugSymbols=false -p:ForPublish=true --self-contained true
|
||||
cd ..
|
||||
rmdir dist /s /q
|
||||
@@ -21,6 +23,8 @@ move dist\Azaion.Dataset.dll dist\dummy\
|
||||
|
||||
echo Build Cython app
|
||||
cd Azaion.Inference
|
||||
rmdir dist /s /q
|
||||
|
||||
.\venv\Scripts\pyinstaller --name=azaion-inference ^
|
||||
--collect-all jwt ^
|
||||
--collect-all requests ^
|
||||
@@ -48,7 +52,13 @@ cd Azaion.Inference
|
||||
--hidden-import inference ^
|
||||
--hidden-import remote_command_handler ^
|
||||
start.py
|
||||
move dist\start.exe ..\dist\azaion-inference.exe
|
||||
|
||||
|
||||
xcopy /E dist\azaion-inference ..\dist\
|
||||
copy venv\Lib\site-packages\tensorrt_libs\nvinfer_10.dll ..\dist
|
||||
copy venv\Lib\site-packages\tensorrt_libs\nvinfer_plugin_10.dll ..\dist
|
||||
copy venv\Lib\site-packages\tensorrt_libs\nvonnxparser_10.dll ..\dist
|
||||
|
||||
copy config.production.yaml ..\dist\config.yaml
|
||||
cd..
|
||||
|
||||
@@ -70,9 +80,5 @@ copy %cudnn-folder%\* dist\*
|
||||
del dist\cudnn_adv64_9.dll
|
||||
|
||||
|
||||
|
||||
echo building installer...
|
||||
iscc build\installer.iss
|
||||
cd build\
|
||||
echo uploading installer...
|
||||
call cdn_manager.exe upload suite AzaionSuiteInstaller.exe ..\AzaionSuiteInstaller.exe
|
||||
Reference in New Issue
Block a user