Skip to content

Commit

Permalink
Hot fixes v0.5.8 (#162)
Browse files Browse the repository at this point in the history
* Fixed same file error for Windows release build

* Fixed TF inference error
  • Loading branch information
weiloon-datature authored Sep 18, 2023
1 parent f30c2e8 commit 389eeec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ jobs:
pyinstaller --collect-data ultralytics --hidden-import pydicom.encoders.gdcm --hidden-import pydicom.encoders.pylibjpeg --hidden-import engineio.async_drivers.threading -F run.py --distpath ../../portal_build/dist
if [ -f ../../portal_build/dist/run ]; then
chmod u+x ../../portal_build/dist/run
mv ../../portal_build/dist/run ../../portal_build/dist/run.exe
else
chmod u+x ../../portal_build/dist/run.exe
fi
chmod u+x ../../portal_build/dist/run.exe
Expand Down
1 change: 1 addition & 0 deletions src/engine/server/models/model_utils/predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,4 @@ def tf_predict(model, model_format, output_name, image_array):
detections_output = bboxes, masks, scores, classes
else:
detections_output = np.array(detections_output[output_name][0])
return detections_output

0 comments on commit 389eeec

Please sign in to comment.