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 build errors with latest commit for rocal unit-tests and utilities #1075

Merged
merged 6 commits into from
May 9, 2023

Conversation

rrawther
Copy link
Contributor

@rrawther rrawther commented May 8, 2023

No description provided.

rrawther and others added 6 commits April 11, 2023 16:23
* Video Reader Python API change (ROCm#1033)

* Fix Video Reader Resize Python end

* Fix Video Reader Resize Python end

* Adjust spacing

---------

Co-authored-by: root <root@ixt-sjc2-52.local.lan>

* rocAL - adding generic plugin for GPU support  (ROCm#1034)

* Linux - Distro Docker Support (ROCm#1027)

* Linux - Distro Docker Support

* LinuX Dockers - RHEL 8 Fix

* Test - Updates

* rocAL - cmn fix (ROCm#1024)

* rocAL: Classification Training Related changes (ROCm#1001)

* Zen DNN - Docker & Tests (ROCm#924)

* Zen DNN - Docker Updates

* Zen DNN - Sample Updates

* Codacy - Fix

* Zen DNN - Cleanup

* Zen DNN - single layer sample

* Rocal Updates (ROCm#921)

* rocal updates for tf training

* updates for rocal

* tf updates and pytorch bug fixes

* repo name change

* Update README.md

* dockerfile update

* [rocAL] Fix rocAL Pybind build issue.

* [rocAL] Remove unused function in pipeline.

* [rocAL] Change rocAL pybind installation from setup.py to wheel.
setup.py install is deprecated in python 3.9

* [rocAL] Make TF pets example dataset compatible with tf2.

* [rocAL] Change getImageLabels() compatible with tf.

* [rocAL] Add fix to pick wheel from dist installation folder.
Remove the old installation files in conda environment.

* [rocAL] Remove commented statement.

Co-authored-by: shobana-mcw <shobana@multicorewareinc.com>

* Docker Update (ROCm#928)

* turboJPEG version update

* turboJPEG version update

* turboJPEG version update

* TurboJPEG version update

* Update mivisionx-opencl-on-ubuntu20.dockerfile

* Update zenDNN-HIP.dockerfile

* Update level-5.dockerfile

* Update level-5.dockerfile

* Zen DNN Updates Sync

Co-authored-by: Kiriti Gowda <kiriti.nageshgowda@amd.com>

* AMD OpenVX Custom Extension - implementation (ROCm#925)

* custom node implementation files

* fix build errors

* custom extension changes for working implementation

* add README and documentation

* update readme

* fix codacy issues and CPU flow

* fix cadacy warning

* Addressed review comments

* minor change

* fix formating

* amd_migraphx - update readme for extension (ROCm#929)

* amd_custom - fixes build issue (ROCm#935)

* fixes build issue

* Update CMakeLists.txt

* migraphx extension - update the readme(ROCm#936)

* vx_amd_migraphx - tests (ROCm#923)

* batch size support for migraphx

* changing to accept tensors of all batch sizes

* creates file with results

* bug fix

* changes to singular test cases - mnist and resnet50

* readme updates

* resolving PR comments

* resolving PR comments

* resolving PR comments

* Readme update to reflect tot

* formatting

* fixing typo

* readme update

* readme update

* OpenVX HIP backend - report correct number of CUs for gfx10+ in the logs (ROCm#930)

* Add API to get reader config and decoder config

* Add API to obtain max and min aspect ratio from image source evaluator

* Add scaling modes support

Add support to pass the resize scaling modes
Add support to calculate the normalized crop

* Minor change

* Remove crop parameters and related changes for resize

* Fix segmentation fault

* Fix error with resize modes

* MInor fix : update tensor ROI

* Minor fix - center crop

* Update the python API for resize with scaling modes and interpolation param

* Minor changes

* Minor changes

* Minor change

* Remove center crop related changes

* Remove redundant max size check

* Remove crop param from node resize

* Remove source evaluator

* Minor fix

* Remove the get decoder and reader config API

* Remove aspect ratio calculations in source evaluator

* Remove decoder and reader config variables

Remove crop related changes

* Remove decoder and reader config variables

Remove crop related changes

* Minor fix for max size

* Code clean up

* Minor change

* Minor changes

* Minor changes

* Minor change

* Fix python codacy warnings

* Minor codacy fix

* Revert "Minor codacy fix"

This reverts commit df1dd28.

* Minor change

* Minor code changes

* Remove API to get max width and height for resize node

* Minor fix

* Minor changes

* Working Image Classification Chnages

* Working Image Classification USER GIVEN PARAMS

* Add changes in types.py

* 1. Code clean up
2. Centre Crop bug fix

* Code Clean Up

* Add centre_crop changes

* ResizeTensor addition

* Minor changes in PR

* ResizeTensor.cpp - Removing OpenCL backend support

* Code Clean Up

* Resolving internal PR comments

* Resolve the internal review comments -2

* Reesolve build error

* runVisionTest - add a new test (ROCm#979)

* rocAL PyBind - Wheel Package Fix (ROCm#982)

Co-authored-by: Swetha B S <swetha@multiocrewareinc.com>

* amd media - device support (ROCm#983)

* amd_media decoder add parameter for passing deviceid

* minor cleanup

* fix for review comments

* docker update - rpp version update (ROCm#986)

* Update mivisionx-with-pytorch.dockerfile

* Update mivisionx-with-tensorflow.dockerfile

* Update level-5.dockerfile

* Update mivisionx-on-ubuntu20.dockerfile

* Update mivisionx-opencl-on-ubuntu20.dockerfile

* rocal - README updates and directory name change (ROCm#981)

* Update README.md

* Update README.md

* folder name change

* Update README.md

* Delete PYTHON_UNITTEST_TEST_FILE.sh

* Delete rocAL/rocAL_pybind/example/new_api directory

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* added new random_crop_dec parameter class

* Set the crop values to partial decoder. [rocAL]

* Fix undefined reference error in random number generator. [rocAL]

* Change parameters for rocalFusedCropDecoder wrt new randomgenrator changes. [rocAL]
Remove unused paramaters.

* Clean up wrt Random number generator. [rocAl]

* Convert double to float for aspect ration and random area parameters in fused crop. [rocAL]

* Set seed for every batch in paramater random crop. [rocAL]

* Clean up. [rocAL]

* Fix Bug with seed generation for RNG

* rocAL - hardware decoder python support (ROCm#987)

* rocAL - removing references (ROCm#954)

* rocAL - Tf pets training  (ROCm#947)

* Zen DNN - Docker & Tests (ROCm#924)

* Zen DNN - Docker Updates

* Zen DNN - Sample Updates

* Codacy - Fix

* Zen DNN - Cleanup

* Zen DNN - single layer sample

* Rocal Updates (ROCm#921)

* rocal updates for tf training

* updates for rocal

* tf updates and pytorch bug fixes

* repo name change

* Update README.md

* dockerfile update

* [rocAL] Fix rocAL Pybind build issue.

* [rocAL] Remove unused function in pipeline.

* [rocAL] Change rocAL pybind installation from setup.py to wheel.
setup.py install is deprecated in python 3.9

* [rocAL] Make TF pets example dataset compatible with tf2.

* [rocAL] Change getImageLabels() compatible with tf.

* [rocAL] Add fix to pick wheel from dist installation folder.
Remove the old installation files in conda environment.

* [rocAL] Remove commented statement.

Co-authored-by: shobana-mcw <shobana@multicorewareinc.com>

* Docker Update (ROCm#928)

* turboJPEG version update

* turboJPEG version update

* turboJPEG version update

* TurboJPEG version update

* Update mivisionx-opencl-on-ubuntu20.dockerfile

* Update zenDNN-HIP.dockerfile

* Update level-5.dockerfile

* Update level-5.dockerfile

* Zen DNN Updates Sync

Co-authored-by: Kiriti Gowda <kiriti.nageshgowda@amd.com>

* AMD OpenVX Custom Extension - implementation (ROCm#925)

* custom node implementation files

* fix build errors

* custom extension changes for working implementation

* add README and documentation

* update readme

* fix codacy issues and CPU flow

* fix cadacy warning

* Addressed review comments

* minor change

* fix formating

* amd_migraphx - update readme for extension (ROCm#929)

* amd_custom - fixes build issue (ROCm#935)

* fixes build issue

* Update CMakeLists.txt

* tf_pets_v2

* code_cleanup

* minor code cleanup

* migraphx extension - update the readme(ROCm#936)

* vx_amd_migraphx - tests (ROCm#923)

* batch size support for migraphx

* changing to accept tensors of all batch sizes

* creates file with results

* bug fix

* changes to singular test cases - mnist and resnet50

* readme updates

* resolving PR comments

* resolving PR comments

* resolving PR comments

* Readme update to reflect tot

* formatting

* fixing typo

* readme update

* readme update

* OpenVX HIP backend - report correct number of CUs for gfx10+ in the logs (ROCm#930)

* PyTorch docker file - add argument for specifying version (ROCm#938)

* add argument for specifying pytorch version for building docker file

* add readme for pytorch

* rocAL - Fix ROCAL_USE_USER_GIVEN_SIZE_RESTRICTED (ROCm#940)

* Docker - codacy fix for pr937 (ROCm#942)

* rocAL - Adding NCHW FP16 SIMD kernel (ROCm#926)

* Adding NCHW FP16 SIMD kernel for normalization and buffer copy

* Fixed some codestyle issues with FP16 kernel

* Using FMA SSE instruction for multiply-add ops

* Removed extra spaces

* Adding fma flag to rocAL CMakeLists

* Adding FP16 intrinsics for buffer copies

* Setting rounding mode to _MM_FROUND_TO_ZERO

* rocAL  - README updates for video unit test (ROCm#939)

* Add README support for video unit test

* Update Readme for video unit test

* Minor test_suite fix

* Update video unit test Readme

* Update Readme

* Updated README with the explation of test cases and arguments

* Minor fix

* Add test case samples to video unit test README

Also add images for README

* Modify sample images

* Change sample image dimension

* Minor README changes

* Minor README changes

* Minor change

* Minor fix to handle relative input path in video unit test

* Resolve codacy warnings

* Minor change

* Add correct video reader outputs

* MIVisionX - cmake cleanup (ROCm#943)

* OpenCV EXT - Updates & Tests (ROCm#944)

* OpenCV - Readme updates

* Updates - Readme & Tests

* OpenCV - Tests Added

* Updates

* ZenDNN - model compiler (ROCm#941)

* model compiler - zendnn - mnist layers

* bug fix + lrn

* layers: batch norm, sum ; bug fixes

* fixes lgtm errors

* bug fixes

* codacy fixes

* bug fix

* codacy fixes

* Update train_withROCAL_withTFRecordReader.py

* Resolved PR comments

Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>
Co-authored-by: LakshmiKumar23 <lakshmi.kumar@amd.com>
Co-authored-by: shobana-mcw <shobana@multicorewareinc.com>
Co-authored-by: Kiriti Gowda <kiriti.nageshgowda@amd.com>
Co-authored-by: Rajy Rawther <Rajy.MeeyakhanRawther@amd.com>
Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
Co-authored-by: root <root@jenkins-worker-rocm-amd-104.local.lan>
Co-authored-by: Sundar Rajan Vaithiyanathan <99159823+SundarRajan28@users.noreply.github.com>
Co-authored-by: Fiona-MCW <70996026+fiona-gladwin@users.noreply.github.com>

* rocAL - fix bug in the usage of GetImageName (ROCm#955)

* fix bug in the usage of GetImageName

* add ground-truth labels .txt file for tinydataset

* rename file to all smaller case

* AMD - OpenVX Float16 Support (ROCm#956)

* AMD - Float16 Support

* Remove redundant def

* OpenVX FP16 - CPP FP16 support

* AMD Media Decoder - Measure Decode Time (ROCm#964)

* added what Aryan recommended to decoder performance measure code

* added transfer time measure

* rocAL - Changing Python Lib Path (ROCm#959)

* Changing Python Lib Path

* Keep the checks for different env intact

Co-authored-by: Swetha B S <swetha@mutlicorewareinc.com>

* MIVisionX - CMakeList Updates (ROCm#967)

* CMakeList Updates

* CMakeList - Cleanup

* Setup - Updates

* rocAL - CMakeList Cleanup

* rocAL - Resize scaling modes support (ROCm#950)

* Zen DNN - Docker & Tests (ROCm#924)

* Zen DNN - Docker Updates

* Zen DNN - Sample Updates

* Codacy - Fix

* Zen DNN - Cleanup

* Zen DNN - single layer sample

* Rocal Updates (ROCm#921)

* rocal updates for tf training

* updates for rocal

* tf updates and pytorch bug fixes

* repo name change

* Update README.md

* dockerfile update

* [rocAL] Fix rocAL Pybind build issue.

* [rocAL] Remove unused function in pipeline.

* [rocAL] Change rocAL pybind installation from setup.py to wheel.
setup.py install is deprecated in python 3.9

* [rocAL] Make TF pets example dataset compatible with tf2.

* [rocAL] Change getImageLabels() compatible with tf.

* [rocAL] Add fix to pick wheel from dist installation folder.
Remove the old installation files in conda environment.

* [rocAL] Remove commented statement.

Co-authored-by: shobana-mcw <shobana@multicorewareinc.com>

* Docker Update (ROCm#928)

* turboJPEG version update

* turboJPEG version update

* turboJPEG version update

* TurboJPEG version update

* Update mivisionx-opencl-on-ubuntu20.dockerfile

* Update zenDNN-HIP.dockerfile

* Update level-5.dockerfile

* Update level-5.dockerfile

* Zen DNN Updates Sync

Co-authored-by: Kiriti Gowda <kiriti.nageshgowda@amd.com>

* AMD OpenVX Custom Extension - implementation (ROCm#925)

* custom node implementation files

* fix build errors

* custom extension changes for working implementation

* add README and documentation

* update readme

* fix codacy issues and CPU flow

* fix cadacy warning

* Addressed review comments

* minor change

* fix formating

* amd_migraphx - update readme for extension (ROCm#929)

* amd_custom - fixes build issue (ROCm#935)

* fixes build issue

* Update CMakeLists.txt

* migraphx extension - update the readme(ROCm#936)

* vx_amd_migraphx - tests (ROCm#923)

* batch size support for migraphx

* changing to accept tensors of all batch sizes

* creates file with results

* bug fix

* changes to singular test cases - mnist and resnet50

* readme updates

* resolving PR comments

* resolving PR comments

* resolving PR comments

* Readme update to reflect tot

* formatting

* fixing typo

* readme update

* readme update

* OpenVX HIP backend - report correct number of CUs for gfx10+ in the logs (ROCm#930)

* Add API to get reader config and decoder config

* Add API to obtain max and min aspect ratio from image source evaluator

* Add scaling modes support

Add support to pass the resize scaling modes
Add support to calculate the normalized crop

* Minor change

* Remove crop parameters and related changes for resize

* Fix segmentation fault

* Fix error with resize modes

* MInor fix : update tensor ROI

* Minor fix - center crop

* Update the python API for resize with scaling modes and interpolation param

* Minor changes

* Minor changes

* Minor change

* Remove center crop related changes

* Remove redundant max size check

* Remove crop param from node resize

* Remove source evaluator

* Minor fix

* Remove the get decoder and reader config API

* Remove aspect ratio calculations in source evaluator

* Remove decoder and reader config variables

Remove crop related changes

* Remove decoder and reader config variables

Remove crop related changes

* Minor fix for max size

* Code clean up

* Minor change

* Minor changes

* Minor changes

* Minor change

* Fix python codacy warnings

* Minor codacy fix

* Revert "Minor codacy fix"

This reverts commit df1dd28.

* Minor change

* Minor code changes

* Remove API to get max width and height for resize node

* Resize ROI changes

* Code cleanup

* Rename variables

* Code cleanup

* MInor changes

* Minor change

* Minor fix

* Minor changes

* Modify logic to calculate max size for each mode

* Fix  max_size calculation algorithm

* Fix max_size calculation logic

* Minor changes

* Minor change

* Add space after if

* Minor change

* Minor changes

Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>
Co-authored-by: LakshmiKumar23 <lakshmi.kumar@amd.com>
Co-authored-by: shobana-mcw <shobana@multicorewareinc.com>
Co-authored-by: Kiriti Gowda <kiriti.nageshgowda@amd.com>
Co-authored-by: Rajy Rawther <Rajy.MeeyakhanRawther@amd.com>
Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
Co-authored-by: IndumathiR <indumathi@multicorewareinc.com>

* rocAL - fix for copy-write violation (ROCm#968)

* fix for copywrite violation

* fix for review comments and other clean_up

* minor clean_up

* revert run.sh changes

* fix codacy warnings

* add jupyter notebook for decoder

* rocAL - add missing header (ROCm#972)

* rocAL - add missing header

* Tested Config Updates

* OpenVX Framework - update max tensor dims to 6 (ROCm#970)

* add pipeline decorator for rocal

* fix build error

* fix script for jupyter notebook

* changes to Jupyter notebook to support HW decoder

* fixed review comments

* hardcoding decoder device to cpu for python unit tests

* add option for decoder.py to run on gpu/cpu

Co-authored-by: LakshmiKumar23 <lakshmi.kumar@amd.com>
Co-authored-by: swetha097 <59434434+swetha097@users.noreply.github.com>
Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>
Co-authored-by: shobana-mcw <shobana@multicorewareinc.com>
Co-authored-by: Kiriti Gowda <kiriti.nageshgowda@amd.com>
Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
Co-authored-by: root <root@jenkins-worker-rocm-amd-104.local.lan>
Co-authored-by: Sundar Rajan Vaithiyanathan <99159823+SundarRajan28@users.noreply.github.com>
Co-authored-by: Fiona-MCW <70996026+fiona-gladwin@users.noreply.github.com>
Co-authored-by: Pavel Tcherniaev <Pavel.Tcherniaev@amd.com>
Co-authored-by: Swetha B S <swetha@mutlicorewareinc.com>
Co-authored-by: IndumathiR <indumathi@multicorewareinc.com>

* Fix Python build

* Wrap long lines of code

* Fix spacing & add copyright in pybind

* amd-openvx-hip: create a separate stream for graph (ROCm#996)

* rocAL -  CMake and header files Clean up (ROCm#991)

* rocAL - removing references (ROCm#954)

* rocAL - Tf pets training  (ROCm#947)

* Zen DNN - Docker & Tests (ROCm#924)

* Zen DNN - Docker Updates

* Zen DNN - Sample Updates

* Codacy - Fix

* Zen DNN - Cleanup

* Zen DNN - single layer sample

* Rocal Updates (ROCm#921)

* rocal updates for tf training

* updates for rocal

* tf updates and pytorch bug fixes

* repo name change

* Update README.md

* dockerfile update

* [rocAL] Fix rocAL Pybind build issue.

* [rocAL] Remove unused function in pipeline.

* [rocAL] Change rocAL pybind installation from setup.py to wheel.
setup.py install is deprecated in python 3.9

* [rocAL] Make TF pets example dataset compatible with tf2.

* [rocAL] Change getImageLabels() compatible with tf.

* [rocAL] Add fix to pick wheel from dist installation folder.
Remove the old installation files in conda environment.

* [rocAL] Remove commented statement.

Co-authored-by: shobana-mcw <shobana@multicorewareinc.com>

* Docker Update (ROCm#928)

* turboJPEG version update

* turboJPEG version update

* turboJPEG version update

* TurboJPEG version update

* Update mivisionx-opencl-on-ubuntu20.dockerfile

* Update zenDNN-HIP.dockerfile

* Update level-5.dockerfile

* Update level-5.dockerfile

* Zen DNN Updates Sync

Co-authored-by: Kiriti Gowda <kiriti.nageshgowda@amd.com>

* AMD OpenVX Custom Extension - implementation (ROCm#925)

* custom node implementation files

* fix build errors

* custom extension changes for working implementation

* add README and documentation

* update readme

* fix codacy issues and CPU flow

* fix cadacy warning

* Addressed review comments

* minor change

* fix formating

* amd_migraphx - update readme for extension (ROCm#929)

* amd_custom - fixes build issue (ROCm#935)

* fixes build issue

* Update CMakeLists.txt

* tf_pets_v2

* code_cleanup

* minor code cleanup

* migraphx extension - update the readme(ROCm#936)

* vx_amd_migraphx - tests (ROCm#923)

* batch size support for migraphx

* changing to accept tensors of all batch sizes

* creates file with results

* bug fix

* changes to singular test cases - mnist and resnet50

* readme updates

* resolving PR comments

* resolving PR comments

* resolving PR comments

* Readme update to reflect tot

* formatting

* fixing typo

* readme update

* readme update

* OpenVX HIP backend - report correct number of CUs for gfx10+ in the logs (ROCm#930)

* PyTorch docker file - add argument for specifying version (ROCm#938)

* add argument for specifying pytorch version for building docker file

* add readme for pytorch

* rocAL - Fix ROCAL_USE_USER_GIVEN_SIZE_RESTRICTED (ROCm#940)

* Docker - codacy fix for pr937 (ROCm#942)

* rocAL - Adding NCHW FP16 SIMD kernel (ROCm#926)

* Adding NCHW FP16 SIMD kernel for normalization and buffer copy

* Fixed some codestyle issues with FP16 kernel

* Using FMA SSE instruction for multiply-add ops

* Removed extra spaces

* Adding fma flag to rocAL CMakeLists

* Adding FP16 intrinsics for buffer copies

* Setting rounding mode to _MM_FROUND_TO_ZERO

* rocAL  - README updates for video unit test (ROCm#939)

* Add README support for video unit test

* Update Readme for video unit test

* Minor test_suite fix

* Update video unit test Readme

* Update Readme

* Updated README with the explation of test cases and arguments

* Minor fix

* Add test case samples to video unit test README

Also add images for README

* Modify sample images

* Change sample image dimension

* Minor README changes

* Minor README changes

* Minor change

* Minor fix to handle relative input path in video unit test

* Resolve codacy warnings

* Minor change

* Add correct video reader outputs

* MIVisionX - cmake cleanup (ROCm#943)

* OpenCV EXT - Updates & Tests (ROCm#944)

* OpenCV - Readme updates

* Updates - Readme & Tests

* OpenCV - Tests Added

* Updates

* ZenDNN - model compiler (ROCm#941)

* model compiler - zendnn - mnist layers

* bug fix + lrn

* layers: batch norm, sum ; bug fixes

* fixes lgtm errors

* bug fixes

* codacy fixes

* bug fix

* codacy fixes

* Update train_withROCAL_withTFRecordReader.py

* Resolved PR comments

Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>
Co-authored-by: LakshmiKumar23 <lakshmi.kumar@amd.com>
Co-authored-by: shobana-mcw <shobana@multicorewareinc.com>
Co-authored-by: Kiriti Gowda <kiriti.nageshgowda@amd.com>
Co-authored-by: Rajy Rawther <Rajy.MeeyakhanRawther@amd.com>
Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
Co-authored-by: root <root@jenkins-worker-rocm-amd-104.local.lan>
Co-authored-by: Sundar Rajan Vaithiyanathan <99159823+SundarRajan28@users.noreply.github.com>
Co-authored-by: Fiona-MCW <70996026+fiona-gladwin@users.noreply.github.com>

* rocAL - fix bug in the usage of GetImageName (ROCm#955)

* fix bug in the usage of GetImageName

* add ground-truth labels .txt file for tinydataset

* rename file to all smaller case

* AMD - OpenVX Float16 Support (ROCm#956)

* AMD - Float16 Support

* Remove redundant def

* OpenVX FP16 - CPP FP16 support

* migraphx  - palamida scan fix (ROCm#984)

* Delete image_0.jpg

* Delete image_1.jpg

* Delete image_4.jpg

* image update

* Readme updates - OpenVX Trademark Updates (ROCm#989)

* Readme updates - OpenVX Trademark Updates

* Readme - Attribution Updates

* Readme - Codacy Fix

* Media - License Issue Fix (ROCm#990)

* Fix include path issue in image augmentation app.[rocAL]

* CMake clean up. [rocAL]

* Clean up. Introduce header files to include all nodes and meta nodes headers. [rocAL]

* Change include directories path in image_augmentation app.

* CMake clean up in rocAL utilities.

* Clean up.

Co-authored-by: LakshmiKumar23 <lakshmi.kumar@amd.com>
Co-authored-by: swetha097 <59434434+swetha097@users.noreply.github.com>
Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>
Co-authored-by: Kiriti Gowda <kiriti.nageshgowda@amd.com>
Co-authored-by: Rajy Rawther <Rajy.MeeyakhanRawther@amd.com>
Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
Co-authored-by: root <root@jenkins-worker-rocm-amd-104.local.lan>
Co-authored-by: Sundar Rajan Vaithiyanathan <99159823+SundarRajan28@users.noreply.github.com>
Co-authored-by: Fiona-MCW <70996026+fiona-gladwin@users.noreply.github.com>

* Resolve the PR comments

* Resolve PR Comments

* Fix the bug with Resize Node

* AMD OpenVX - HIP cleanup (ROCm#997)

* amd-openvx-hip: create a separate stream for graph

* removed hipstream associated with context since it is not used

* fix for review comments

* docker - Pytorch with mesa driver (ROCm#998)

* Create mivisionx-with-pytorch-with-mesa.dockerfile

Adding dockerfile for pytorch with mesa driver for hardware decode

* bug fixes to dockerfile

Co-authored-by: Lakshmi <lakshmi@ixt-sjc2-52.local.lan>

* OS Support - Updates (ROCm#994)

* Docker - Archive Old OS

* Docker Updates - Fix Support

* Setup - Updates

* OpenCV - Upgrade to 4.6.0

* Docker - Name Fix

* U20 Fix

* Docker Readme - Updates

* Minor change in the unittest

* Remove RPATH/RUNPATH - Adding SKIP RPATH flag (ROCm#995)

* Adding SKIP RPATH flag

* Update Review Comments-SKIP_RPATH replaced with SKIP_INSTALL_RPATH, disable use_link_path

* Review Comments Updated

* Resolve the internal PR comments

* Minor change in image.cpp

* Minor change in decoder.h

* Minor change in fused_crop_decoder.cpp

* Minor changes

* Minor changes

* Minor changes

* Correct spacing issues

* Wrap long lines of code in decoders.py

* Remove extra line in readers.py

* Removes extra line from fused_crop_decoder.cpp

* Remove Trailing white space in rocal_pybind.cpp

* Wrapping up the long lines of code in decoders.py

* Resolving PR comments

* Update decoders.py

Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>
Co-authored-by: LakshmiKumar23 <lakshmi.kumar@amd.com>
Co-authored-by: shobana-mcw <shobana@multicorewareinc.com>
Co-authored-by: Kiriti Gowda <kiriti.nageshgowda@amd.com>
Co-authored-by: Rajy Rawther <Rajy.MeeyakhanRawther@amd.com>
Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
Co-authored-by: fiona-gladwin <fionagladwin@multicorewareinc.com>
Co-authored-by: root <root@jenkins-worker-rocm-amd-104.local.lan>
Co-authored-by: Swetha B S <swetha@mutlicorewareinc.com>
Co-authored-by: Swetha B S <swetha@multiocrewareinc.com>
Co-authored-by: root <root@ixt-sjc2-52.local.lan>
Co-authored-by: Sundar Rajan Vaithiyanathan <99159823+SundarRajan28@users.noreply.github.com>
Co-authored-by: Fiona-MCW <70996026+fiona-gladwin@users.noreply.github.com>
Co-authored-by: Pavel Tcherniaev <Pavel.Tcherniaev@amd.com>
Co-authored-by: IndumathiR <indumathi@multicorewareinc.com>
Co-authored-by: Lakshmi <lakshmi@ixt-sjc2-52.local.lan>
Co-authored-by: arvindcheru <90783369+arvindcheru@users.noreply.github.com>

* Setup & CMakeList - Updates (ROCm#1021)

* RPP - Upgrade to V0.99 (ROCm#1018)

* CMakeList - Adding RPATH flag (ROCm#995)" (ROCm#1017)

This reverts commit a5a4948.

* Setup - Support for RedHat and Updates (ROCm#1020)

* Setup - Updates

* Setup - Fix MIOpen Install

* Readme - Updates

* RPP Find - Fix

* RPP - Find Include files

* RedHat - rocAL Install Fix

* Setup - Add rocBLAS install

* Setup - Install Inference Deps

* Set - Inference Re-Install

* CMakeList - Find AMDRPP Backend Fix

* Backend Find - Updates

Co-authored-by: arvindcheru <90783369+arvindcheru@users.noreply.github.com>

* fix crop_mirror_normalize node to do center_crop by default

Co-authored-by: swetha097 <59434434+swetha097@users.noreply.github.com>
Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>
Co-authored-by: LakshmiKumar23 <lakshmi.kumar@amd.com>
Co-authored-by: shobana-mcw <shobana@multicorewareinc.com>
Co-authored-by: Kiriti Gowda <kiriti.nageshgowda@amd.com>
Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
Co-authored-by: fiona-gladwin <fionagladwin@multicorewareinc.com>
Co-authored-by: root <root@jenkins-worker-rocm-amd-104.local.lan>
Co-authored-by: Swetha B S <swetha@mutlicorewareinc.com>
Co-authored-by: Swetha B S <swetha@multiocrewareinc.com>
Co-authored-by: root <root@ixt-sjc2-52.local.lan>
Co-authored-by: Sundar Rajan Vaithiyanathan <99159823+SundarRajan28@users.noreply.github.com>
Co-authored-by: Fiona-MCW <70996026+fiona-gladwin@users.noreply.github.com>
Co-authored-by: Pavel Tcherniaev <Pavel.Tcherniaev@amd.com>
Co-authored-by: IndumathiR <indumathi@multicorewareinc.com>
Co-authored-by: Lakshmi <lakshmi@ixt-sjc2-52.local.lan>
Co-authored-by: arvindcheru <90783369+arvindcheru@users.noreply.github.com>

* adding generic file reader

* adding generic file reader

* rocal python gpu support without torch

* addressing review comments

* re-adding old unit test as pytorch test

* code clean up plus review comments

* final changes

---------

Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>
Co-authored-by: Rajy Rawther <Rajy.MeeyakhanRawther@amd.com>
Co-authored-by: swetha097 <59434434+swetha097@users.noreply.github.com>
Co-authored-by: shobana-mcw <shobana@multicorewareinc.com>
Co-authored-by: Kiriti Gowda <kiriti.nageshgowda@amd.com>
Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
Co-authored-by: fiona-gladwin <fionagladwin@multicorewareinc.com>
Co-authored-by: root <root@jenkins-worker-rocm-amd-104.local.lan>
Co-authored-by: Swetha B S <swetha@mutlicorewareinc.com>
Co-authored-by: Swetha B S <swetha@multiocrewareinc.com>
Co-authored-by: root <root@ixt-sjc2-52.local.lan>
Co-authored-by: Sundar Rajan Vaithiyanathan <99159823+SundarRajan28@users.noreply.github.com>
Co-authored-by: Fiona-MCW <70996026+fiona-gladwin@users.noreply.github.com>
Co-authored-by: Pavel Tcherniaev <Pavel.Tcherniaev@amd.com>
Co-authored-by: IndumathiR <indumathi@multicorewareinc.com>
Co-authored-by: Lakshmi <lakshmi@ixt-sjc2-52.local.lan>
Co-authored-by: arvindcheru <90783369+arvindcheru@users.noreply.github.com>

* rocal_pybind - bug fix for one hot encoded labels (ROCm#1038)

* one hot label bug fix

* adding comments

* removing duplicate functions

* rocAL - Tf pets training (ROCm#1035)

* Updated prerequisite for tf_pets_training

* Updated README.md file

* Resolved PR comments

* Remove --use-feature flag

* Update pip3 to python -m pip

* upgrade pip in dockerfile

---------

Co-authored-by: root <root@ixt-sjc2-52.local.lan>
Co-authored-by: Akilesh2 <akilesh.giribala@multicorewareinc.com>

* rocAL - changes for classification training convergence (ROCm#1036)

* Changes wrt Resizeshorter.[rocAL]

* Adding changes for Image Classification training convergence

* Resolving internal review comments

* Changes to resize shorter codes

* Using original dims for calculating resize dims for all modes

* Adding fix for when images fail decoding with turbojpeg

* Variable name changes

* ROI name changes

---------

Co-authored-by: shobana-mcw <shobana@multicorewareinc.com>

* ADAT - Fix for Deprecated Function (ROCm#1046)

* ADAT - modifying code to support python3 (ROCm#1047)

* modifying code to support python3

* readme updates

* rocAL - ResizeMirrorNormalize augmentation node support (ROCm#1044)

* RMN node implementation for rocAL

* Resolving review comments and changing RMN RPP node name

* Changing tabs to spaces

* Removing unused variables in RMN openvx node

* Resolving review comments

* Adding python unittest for RMN

* Adding spaces and removing setSeed instances

* Fixing codacy warning

* rocAL - ResizeMirrorNormalize OCL build fix (ROCm#1049)

* RMN node implementation for rocAL

* Resolving review comments and changing RMN RPP node name

* Changing tabs to spaces

* Removing unused variables in RMN openvx node

* Resolving review comments

* Adding python unittest for RMN

* Adding spaces and removing setSeed instances

* Fixing codacy warning

* Rearranged if statement to fix OCL build error

* rocAL - Prefetch queue depth python example (ROCm#1048)

* Add python example for prefetch queue depth

Reintroduce the python example
Update the python script to use latest rocal python API

* Update README

* Update README.md

* Add copywrite block

Add copywrite block in prefetch queue depth python example

* Replace pytorch iterator with generic iterator

* Add sleep timer in the iterator

* Update README.md

* Minor change

* rocAL - RPP & CuPy updates (ROCm#1050)

* RPP - Name Updates

* Setup - Install CuPy

* Setup - CuPy Updates

* Setup - Remove redundant

* Setup - CuPy Updates

* Setup - fix numpy version

* PIP Install - Fix Version

* Model Compiler - Readme Updates

* Model Compiler - Readme Updates

* rocal pybind build changes

* codacy error fixes

* addressing review comments

* link error - fix

* resolving PR comments

* RPP Version - Update to 1.0.0 (ROCm#1058)

* RPP Version - Update to 1.0.0

* RPP - Lib Name Updates

* checking for conda env

* trial for docker

* adding test case for pybind installation

* Delete output_image.png

* codacy error fixes

* readme update

* codacy error fix

* removing opencl from cmake -- not supported for rocal_pybind

* clean up

---------

Co-authored-by: swetha097 <59434434+swetha097@users.noreply.github.com>
Co-authored-by: root <root@ixt-sjc2-52.local.lan>
Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>
Co-authored-by: Rajy Rawther <Rajy.MeeyakhanRawther@amd.com>
Co-authored-by: shobana-mcw <shobana@multicorewareinc.com>
Co-authored-by: Kiriti Gowda <kiriti.nageshgowda@amd.com>
Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
Co-authored-by: fiona-gladwin <fionagladwin@multicorewareinc.com>
Co-authored-by: root <root@jenkins-worker-rocm-amd-104.local.lan>
Co-authored-by: Swetha B S <swetha@mutlicorewareinc.com>
Co-authored-by: Swetha B S <swetha@multiocrewareinc.com>
Co-authored-by: Sundar Rajan Vaithiyanathan <99159823+SundarRajan28@users.noreply.github.com>
Co-authored-by: Fiona-MCW <70996026+fiona-gladwin@users.noreply.github.com>
Co-authored-by: Pavel Tcherniaev <Pavel.Tcherniaev@amd.com>
Co-authored-by: IndumathiR <indumathi@multicorewareinc.com>
Co-authored-by: Lakshmi <lakshmi@ixt-sjc2-52.local.lan>
Co-authored-by: arvindcheru <90783369+arvindcheru@users.noreply.github.com>
Co-authored-by: Akilesh2 <akilesh.giribala@multicorewareinc.com>
@paveltc
Copy link
Contributor

paveltc commented May 8, 2023

@rrawther @LakshmiKumar23 I'm still seeing a build error:

error: too few arguments to function ‘void rocalGetImageLabels(RocalContext, void*, RocalOutputMemType)’
723 | rocalGetImageLabels(handle, label_id);

@paveltc
Copy link
Contributor

paveltc commented May 8, 2023

@rrawther @LakshmiKumar23 Never mind, my mistake of not building MIVisionX before trying to build rocAL_unittests.
It builds fine, this should be good to merge.

@kiritigowda kiritigowda added the bugfix Bug fixes to existing features label May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Bug fixes to existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants