-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Last Batch Policy changes for file source reader (#182)
* Remove the parse_config * Adding missed param in python unit tests * Fix error - Too many open files * Fix slice fill values copy issue * Fix file list path in API dataloader * Revert "Add Glob to CMakeLists.txt" This reverts commit 47263d9. * Fix include headers for Audio files * Fix copy data 2D * Minor changes * Pass decoded data info to load routine instead of separate vectors * Update CHANGELOG.md * Update CHANGELOG.md * Change swap_handle_time variable name in loader * Update the changelog.md * Update ChangeLog.md * Update ChangeLog.md * Update CHANGELOG.md * Formatting changes Add comments * Update doxygen comments * Move file source reader from readers/image to readers folder * Update README and add doxygen description * Update CMakeLists and README for audio test * Update README for audio test * Minor fix * Fix build errors * Fix Copy_Data_2d_ROI * Fix merge from PR 2 * Minor changes shard_count argument name * Rename set and get functions of data_info to decoded_data_info * Fix shard_size and audio source evaluation * Changes in file_source_reader - to minimize the I/O operations * Changes in the variable name * Changes in the variable names of the audio source evalution * Use set instead of vector * Minor bug fixes * Minor fixes Remove changes to update the filenames vector incase of padding Fix the pipeline when pad is off and use idx in a continuous manner * Fix drop policy without padding To skip and batch and start with the previously padded idx in last batch * Fix pytorch iterator - PARTIAL policy * Revert empty line removed in CMakeLists.txt * Removed prefix original for audio vectors * Fix PARTIAL Fix issue with batch size greater than dataset size * Reduce overall time for audio source evalution * Fix shard_size and stick to shard issue seen with convergence * Resolve PR comments * Add @params to all args in pytorch.py * Fix build issue * Minor changes in unit test * Minor changes * Change ROCAL instaces to rocAL in pytorch.py * Resolve the PR comments * Minor changes in decoders.py - Modify the comment for shard_size * Fix shard_size * Minor changes * Changes in pipeline.py and decoders.py * Address the PR comments * Address Review comments * Remove print statement * Fix the count_items * Make Sharding similar to DALI * Fix issues with DROP policy by introducing a new vector for padding * Minor fixes * Comment out print statements * Add changes for shard_size LBP testing * Fix DROP Policy with shard_size > 0 * Fix Stick_to_Shard=False * Fix PARTIAL policy and code clean up * fix last_batch_padded size when shard_size > 0 * Fix Drop policy - we skip the dropped batch in the next epoch * Fix single shard outputs * Remove the commented code and fix the padding code in open() * Remove div by num_shards in decoders.py * Introduce Audio layouts * Add layout changes for spectrogram * Fix the unit tests - c++ & python * Code clean up and formatting * Minor code clean up * code clean up in pytorch.py * Add layout changes for spectrogram * Pass layouts for MelFilterBank * Fix ToDecibels Pass layouts for ToDecibels * Fix Normalize * Fix build issue * Fix python unit test * Minor fix * Pass LBP to decoders instead of the Pipeline creation * Update pipeline.py - Remove commented code * Update pipeline.py - Remove commented out code * Adding changes for spec layout changes * Adding changes to MFB and normalize nodes * Update node_slice.cpp * Update node_slice.h * Resolve PR comments * Fix downmix failing case and resolve the issue with merge * Fix issue with file_source_reader.cpp when file_list is not used * Resolve PR comments - Sundar * Fix file_source_reader.cpp * Fix shuffle issues * Adding comments to all if conditions * Fix merge conflicts * Resolving review comments * Fix a minor warning in file source reader * Resolving review comments * LBP comments resolution * Resolving review comments * Formatting changes * Resolving Final Set of PR comments * Combine with OR condition * Remove the pad_last_batch_repeated print statement from decoders.py * Add shard_size and stick_to_shard variables in args * Minor spelling fix * Make changes to insert the padded data in the file_names vector * Support to pass the variables fo lbp as struct * Fix segmentation fault * Resolve PR comments * Resolve PR comments * Resolve PR comments * Use PreComputed start and end indices * Use precomputed shard_idx start and end in initialize * Initialize the Sharding info using ShardingInfo() * convert the signed to int32_t type * temp commit for struct changes * Fix the struct changes - All the test cases passing * Remove any print statements * Add support to Pass the decode size policy from the user * Add support to Pass the decode size policy from the user * Rename RocalShardingInfo for ShardingInfo and vice-versa * xywh roi copy * Fix decoders.py for image decoders * Make stick_to_shard True by default * Minor changes to the copy_data function * Rename to x_offset and y_offset in copy_data * Minor changes - remove unused variables * Minor change - Variable names * Update Doxygen comments and comments of API * Make the rocalShardingInfo as the last param for Audio loaders * Remove unused variables and functions in file_source_reader.cpp & .h files * Remove the doctring explanation for unused params * Change the explanation according to the newly introduced structure --------- Co-authored-by: SundarRajan28 <[email protected]> Co-authored-by: fiona-gladwin <[email protected]> Co-authored-by: Swetha B S <[email protected]> Co-authored-by: root <[email protected]> Co-authored-by: SundarRajan98 <[email protected]> Co-authored-by: sbavasab <[email protected]> Co-authored-by: Lakshmi Kumar <[email protected]> Co-authored-by: Kiriti Gowda <[email protected]> Co-authored-by: Sundar Rajan Vaithiyanathan <[email protected]> Co-authored-by: Swetha B S <[email protected]> Co-authored-by: fgladwin <[email protected]> Co-authored-by: Swetha B S <[email protected]>
- Loading branch information
1 parent
afdffd7
commit 87348ad
Showing
38 changed files
with
677 additions
and
413 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.