Skip to content

Commit

Permalink
test dlb latest ir update
Browse files Browse the repository at this point in the history
  • Loading branch information
sbalandi committed Nov 14, 2024
1 parent 19ae2a9 commit bfffcbb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def parse_arguments():

def str_to_dir_list(input_str: str):
dir_path_list = []
logger.info(f"Model input dir list: {input_str}")
while True:
separator_pos = input_str.find(',')
dir_path = ""
Expand All @@ -57,8 +58,11 @@ def str_to_dir_list(input_str: str):
dir_path = input_str[:separator_pos:]
input_str = input_str[separator_pos+1::]
separator_pos = input_str.find(',')
logger.info(f"Found dir path : {dir_path}")
if os.path.isdir(dir_path):
dir_path_list.append(dir_path)
else:
logger.info(f"Dir path is not os.path.isdir : {dir_path}")
logger.info(f"Model dir list: {dir_path_list}")
return dir_path_list

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[ww|WW]*_dynamic*
[ww|WW]*_pytorch*
[ww|WW]*_static*
[ww|WW]*_tfhub*
WW35_dynamic*
WW45_pytorch*
WW45_static*regul*
WW45_tfhub*
# ww*_tflite*

0 comments on commit bfffcbb

Please sign in to comment.