Skip to content

Commit

Permalink
Support multiple kmodels for accuracy_test.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyang2057 committed Jan 29, 2024
1 parent de6c89d commit fa0da60
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/accuracy_test/nuc_proxy_accuracy_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,12 @@ def recv_worker(conn, target):
if dict['app'] == 1:
dict['app'] = recv_file(conn, case_dir, target.logger)

if dict['kmodel'] == 1:
dict['kmodel'] = recv_file(conn, case_dir, target.logger)
kmodel_num = dict['kmodel']
if kmodel_num > 0:
file_names = []
for i in range(kmodel_num):
file_names.append(recv_file(conn, case_dir, target.logger))
dict['kmodel'] = ' '.join(file_names)

if dict['description'] == 1:
dict['description'] = recv_file(conn, case_dir, target.logger)
Expand Down

0 comments on commit fa0da60

Please sign in to comment.