Skip to content

Commit

Permalink
Added PyTorch ResNet101, ResNext101, SSD_Res50, GPUNet-0 and YoloX mo…
Browse files Browse the repository at this point in the history
…dels; pylint cleanup; Model refactoring and code updates

- Cleaned up code to reduce errors from static analysis (pylint)
- Model refactoring and code updates for a few models (HRNet w32, TF object detection models, Transfer learning models, RangeNet++, SalsaNext)
- Releasing third package release of aimet model zoo (installable wheel file binaries)
- Added code, documentation and artifacts the following new PyTorch models: ResNet101, ResNext101, SSD_Res50, GPUNet-0, YoloX

Signed-off-by: Hanwen Xiong <[email protected]>
  • Loading branch information
quic-hanwxion authored and quic-bharathr committed Mar 30, 2023
1 parent 59640d1 commit 4326906
Show file tree
Hide file tree
Showing 358 changed files with 107,895 additions and 7,361 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@
*.whl
*.egg-info/
build/
packaging/results
5 changes: 2 additions & 3 deletions Jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ pipeline {
}
}



stage('Code violations') {
steps {
echo 'Running code violations...'
Expand All @@ -85,13 +83,14 @@ pipeline {
$class : 'WarningsPublisher',
parserConfigurations : [[
parserName: 'PYLint',
pattern : "**/**/**/*pylint_results.out"
pattern : "**/**/**/*pylint*"
]],
failedTotalHigh : THRESHOLD_OBJ.pylint_fail_thresholds.high_priority,
failedTotalNormal : THRESHOLD_OBJ.pylint_fail_thresholds.normal_priority,
failedTotalLow : THRESHOLD_OBJ.pylint_fail_thresholds.low_priority,
usePreviousBuildAsReference : true
])
echo "CURRENT LINTING RESULT: ${currentBuild.currentResult}"
script {
if (currentBuild.currentResult.equals("FAILURE")) {
// the plugin won't fail the stage. it only sets the build status, so we have to fail it
Expand Down
12 changes: 8 additions & 4 deletions Jenkins/dobuildntest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
set -e

run_prep=1
run_clean=1
run_build=1
run_package_gen=1
run_code_violation=1
run_clean=0
run_build=0
run_package_gen=0
run_code_violation=0

EXIT_CODE=0

Expand Down Expand Up @@ -69,6 +69,7 @@ trap pre_exit EXIT
function check_stage() {
RESULT=$1
STAGE=$2

if [ "$3" ]; then
EXIT_ON_FAIL=$3
fi
Expand Down Expand Up @@ -219,8 +220,11 @@ if [ $run_package_gen -eq 1 ]; then
fi

if [ $run_code_violation -eq 1 ]; then
cd $buildFolder

echo -e "\n********** Stage 4: Code violation checks **********\n"
make pylintmodelzoo
check_stage $? "Code Violations" "true"
fi

exit $EXIT_CODE
Expand Down
66 changes: 65 additions & 1 deletion NOTICE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -523,4 +523,68 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Licensed under the MIT License.
# Create by Bin Xiao ([email protected])
# Modified by Ke Sun ([email protected]), Rainbowsecret ([email protected])
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------

# ------------------------------------------------------------------------------
MIT License

Copyright (c) 2019 Xieyuanli Chen, Andres Milioto, Jens Behley, Cyrill Stachniss, University of Bonn.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
# ------------------------------------------------------------------------------

# ------------------------------------------------------------------------------
MIT License

Copyright (c) 2021 Viet Nguyen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
# ------------------------------------------------------------------------------

# ------------------------------------------------------------------------------
Copyright (c) 2021-2022 Megvii Inc. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
# ------------------------------------------------------------------------------
Loading

0 comments on commit 4326906

Please sign in to comment.