From 936a04e87ed3bffa275458a137619ef8ae5433e3 Mon Sep 17 00:00:00 2001 From: SundarRajan28 Date: Tue, 7 Jan 2025 15:13:32 +0000 Subject: [PATCH] Resolving review comment and changing version number --- rocAL/include/pipeline/master_graph.h | 2 +- rocAL/source/meta_data/webdataset_meta_data_reader.cpp | 2 +- rocAL/source/readers/webdataset_source_reader.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rocAL/include/pipeline/master_graph.h b/rocAL/include/pipeline/master_graph.h index b99b211d7..0d6192b4f 100644 --- a/rocAL/include/pipeline/master_graph.h +++ b/rocAL/include/pipeline/master_graph.h @@ -55,7 +55,7 @@ THE SOFTWARE. #define MAX_SSD_ANCHORS 8732 // Num of bbox achors used in SSD training #define MAX_MASK_BUFFER 10000 #define MAX_RETINANET_ANCHORS 120087 // Num of bbox achors used in Retinanet training -#define MAX_ASCII_BUFFER 10000 // Max Number of ASCII characters that can be present in any particular extension file for webdataset reader +#define MAX_ASCII_BUFFER 200 // Max Number of ASCII characters that can be present in any particular extension file for webdataset reader #if ENABLE_SIMD #if _WIN32 diff --git a/rocAL/source/meta_data/webdataset_meta_data_reader.cpp b/rocAL/source/meta_data/webdataset_meta_data_reader.cpp index a1220634a..54f5525b8 100644 --- a/rocAL/source/meta_data/webdataset_meta_data_reader.cpp +++ b/rocAL/source/meta_data/webdataset_meta_data_reader.cpp @@ -151,7 +151,7 @@ void WebDataSetMetaDataReader::parse_sample_description( // Reading consecutive components ComponentDescription component; while (components_stream >> component.ext) { - if (index_version == create_version_number(1, 2)) { + if (index_version == create_version_number(1, 0)) { if (!(components_stream >> component.offset >> component.size >> component.filename)) { THROW( diff --git a/rocAL/source/readers/webdataset_source_reader.cpp b/rocAL/source/readers/webdataset_source_reader.cpp index cc14b0b07..477afa8f7 100644 --- a/rocAL/source/readers/webdataset_source_reader.cpp +++ b/rocAL/source/readers/webdataset_source_reader.cpp @@ -158,7 +158,7 @@ void WebDatasetSourceReader::parse_sample_description( // Reading consecutive components ComponentDescription component; while (components_stream >> component.ext) { - if (index_version == create_version_number(1, 2)) { + if (index_version == create_version_number(1, 0)) { if (!(components_stream >> component.offset >> component.size >> component.filename)) { THROW( "Could not find all necessary component parameters "