Update test_hubserving.py

pull/450/head
littletomatodonkey 2020-12-04 10:43:56 +08:00 committed by GitHub
parent 049cbb26d7
commit 0df5ba63df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ def main(url, image_path, top_k=1):
logger.info(message)
logger.info("The average time cost: {}".format(float(total_time) / cnt))
logger.info("The average top-1 accuracy: {}".format(float(all_acc) / cnt))
logger.info("The average top-1 score: {}".format(float(all_acc) / cnt))
if __name__ == '__main__':