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

Classification PR Changes #2

Open
wants to merge 81 commits into
base: classification_pr
Choose a base branch
from

Conversation

swetha097
Copy link
Collaborator

No description provided.

kiritigowda and others added 30 commits August 25, 2022 10:36
* Zen DNN - Docker Updates

* Zen DNN - Sample Updates

* Codacy - Fix

* Zen DNN - Cleanup

* Zen DNN - single layer sample
* 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 <[email protected]>
* 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 <[email protected]>
* 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
* fixes build issue

* Update CMakeLists.txt
* 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
Add support to pass the resize scaling modes
Add support to calculate the normalized crop
Copy link
Collaborator

@sampath1117 sampath1117 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@swetha097 Please address review comments

amd_openvx_extensions/amd_rpp/source/Resizetensor.cpp Outdated Show resolved Hide resolved
rocAL/rocAL/include/api/rocal_api_data_loaders.h Outdated Show resolved Hide resolved
rocAL/rocAL/include/decoders/image/decoder.h Outdated Show resolved Hide resolved
rocAL/rocAL_pybind/rocal_pybind.cpp Show resolved Hide resolved
rocAL/rocAL/source/decoders/image/fused_crop_decoder.cpp Outdated Show resolved Hide resolved
rocAL/rocAL/source/decoders/image/fused_crop_decoder.cpp Outdated Show resolved Hide resolved
amd_openvx_extensions/amd_rpp/source/Resizetensor.cpp Outdated Show resolved Hide resolved
rocAL/rocAL/include/api/rocal_api_data_loaders.h Outdated Show resolved Hide resolved
input_buffer,
input_size,
width,
height,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert the trailing white space changes in this file

rocAL/rocAL/source/decoders/image/fused_crop_decoder.cpp Outdated Show resolved Hide resolved
rocAL/rocAL/source/decoders/image/fused_crop_decoder.cpp Outdated Show resolved Hide resolved
rocAL/rocAL/source/parameters/parameter_rali_crop.cpp Outdated Show resolved Hide resolved
rocAL/rocAL/source/parameters/parameter_rali_crop.cpp Outdated Show resolved Hide resolved
rocAL/rocAL/source/pipeline/image.cpp Outdated Show resolved Hide resolved
rocAL/rocAL/source/pipeline/image.cpp Show resolved Hide resolved
rocAL/rocAL_pybind/amd/rocal/decoders.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@shobana-mcw shobana-mcw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some review comments are general. Check if there is other instances of the same.
In decoders.py file there are lots of changes introduced due to auto save coding guidelines set up in VS code. This will make it very difficult for them to review. Please revert back and add only necessary changes in any other editor if needed.

@@ -217,7 +217,7 @@ extern "C" RocalImage ROCAL_API_CALL rocalJpegCOCOFileSourcePartialSingleShard
/// \return
extern "C" RocalImage ROCAL_API_CALL rocalJpegCOCOFileSourceSingleShard(RocalContext context,
const char* source_path,
const char* json_path,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@swetha097 Revert this line change. It adds unnecessary file change.

@@ -167,7 +167,7 @@ extern "C" RocalImage ROCAL_API_CALL rocalJpegCOCOFileSourcePartial(RocalConte
bool is_output,
bool shuffle = false,
bool loop = false,
RocalImageSizeEvaluationPolicy decode_size_policy = ROCAL_USE_MAX_SIZE,
RocalImageSizeEvaluationPolicy decode_size_policy = ROCAL_USE_MAX_SIZE_RESTRICTED,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you check if this should be ROCAL_USE_MAX_SIZE_RESTRICTED or user given size restricted?

@@ -196,11 +196,13 @@ extern "C" RocalImage ROCAL_API_CALL rocalJpegCOCOFileSourcePartialSingleShard
unsigned shard_id,
unsigned shard_count,
bool is_output,
std::vector<double>& area_factor,
std::vector<double>& aspect_ratio,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this needs to be a vector or array of size 2?

rocAL/rocAL/include/decoders/image/fused_crop_decoder.h Outdated Show resolved Hide resolved
std::mt19937 _rand_gen;
int64_t seed;
int64_t getseed() { return ParameterFactory::instance()->get_seed(); }
void generate_rngs(int64_t _seed, int64_t N) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

input param should not have _

rocAL/rocAL/source/decoders/image/fused_crop_decoder.cpp Outdated Show resolved Hide resolved
rocAL/rocAL/source/pipeline/master_graph.cpp Outdated Show resolved Hide resolved
"decode_size_policy": types.USER_GIVEN_SIZE,
"max_width": 2000,
"max_height": 2000}
image_decoder_output_image = b.TF_ImageDecoder(Pipeline._current_pipeline._handle ,*(kwargs_pybind.values()))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we remove TF decoder from this call?

Swetha B S and others added 18 commits October 20, 2022 12:19
* Delete image_0.jpg

* Delete image_1.jpg

* Delete image_4.jpg

* image update
* Readme updates - OpenVX Trademark Updates

* Readme - Attribution Updates

* Readme - Codacy Fix
* rocAL - rocAL PyBind .py files License

* rocAL - Missing license

* Tests - missing license fix

* AMD OpenVX Extension - License fix

* Apps & Samples - License Fix

* Apps - Fix
* amd_media decoder add parameter for passing deviceid

* minor cleanup

* fix for review comments
* 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
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants