Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix model download path, codecov token and dependency path #67

Merged
merged 6 commits into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/gui_ci_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
pip install pycodestyle
pip install PySide2==5.15.0
pip install dateutils==0.6.12
pip install pycocotools==2.0.2
pip install pycocotools==2.0.5
pip install labelme==5.0.1
pip install pytest==6.0.1
pip install pytest-qt==3.3.0
pip install pyyaml==5.3.1
pip install pyyaml==5.4.1
- name: Static Analysis
run: |
pycodestyle --show-source easy_perception_deployment/gui/main.py \
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/industrial_ci_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
# Use custom public docker image
UPSTREAM_WORKSPACE: onnxruntime.repos
ISOLATION: docker
CODECOV_TOKEN: b56af58a-9b3b-49a9-800d-65746dbfb346

runs-on: ubuntu-20.04
steps:
Expand All @@ -31,4 +30,6 @@ jobs:
- uses: 'cardboardcode/industrial_ci@pr-coverage'
env: ${{ matrix.env }}
# Generate and upload code coverage report to codecov.
- uses: codecov/[email protected]
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# **easy_perception_deployment**
[![CI](https://github.com/ros-industrial/easy_perception_deployment/actions/workflows/industrial_ci_action.yml/badge.svg)](https://github.com/ros-industrial/easy_perception_deployment/actions/workflows/industrial_ci_action.yml)
[![codecov](https://codecov.io/gh/cardboardcode/easy_perception_deployment/branch/master/graph/badge.svg)](https://codecov.io/gh/cardboardcode/easy_perception_deployment)
[![codecov](https://codecov.io/gh/ros-industrial/easy_perception_deployment/branch/master/graph/badge.svg)](https://codecov.io/gh/ros-industrial/easy_perception_deployment)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Documentation Status](https://readthedocs.org/projects/epd-docs/badge/?version=latest)](https://epd-docs.readthedocs.io/en/latest/?badge=latest)

Expand Down
4 changes: 4 additions & 0 deletions codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
coverage:
status:
patch: false
project: false
6 changes: 3 additions & 3 deletions easy_perception_deployment/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/data/model/MaskRCNN-10.onnx")
message(AUTHOR_WARNING "Pretrained models are downloaded.")
else()
message(AUTHOR_WARNING "Downloading pretrained ONNX model from ONNX Model Zoo.")
file(DOWNLOAD https://github.com/onnx/models/raw/master/vision/classification/squeezenet/model/squeezenet1.1-7.onnx
file(DOWNLOAD https://github.com/onnx/models/raw/main/validated/vision/classification/squeezenet/model/squeezenet1.1-7.onnx
${CMAKE_CURRENT_LIST_DIR}/data/model/squeezenet1.1-7.onnx)
file(DOWNLOAD https://github.com/onnx/models/raw/main/vision/object_detection_segmentation/faster-rcnn/model/FasterRCNN-10.onnx
file(DOWNLOAD https://github.com/onnx/models/raw/main/validated/vision/object_detection_segmentation/faster-rcnn/model/FasterRCNN-10.onnx
${CMAKE_CURRENT_LIST_DIR}/data/model/FasterRCNN-10.onnx)
file(DOWNLOAD
https://github.com/onnx/models/raw/main/vision/object_detection_segmentation/mask-rcnn/model/MaskRCNN-10.onnx
https://github.com/onnx/models/raw/main/validated/vision/object_detection_segmentation/mask-rcnn/model/MaskRCNN-10.onnx
${CMAKE_CURRENT_LIST_DIR}/data/model/MaskRCNN-10.onnx)
endif()

Expand Down
2 changes: 1 addition & 1 deletion onnxruntime.repos
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
repositories:
epd_onnxruntime_vendor:
type: git
url: https://github.com/Briancbn/epd_onnxruntime_vendor
url: https://github.com/ros-industrial/epd_onnxruntime_vendor
version: main
Loading