feat(新功能):
fix(修复bug): 关闭调试日志打印 docs(文档变更): refactor(重构): test(增加测试):
This commit is contained in:
@@ -58,7 +58,7 @@ class Segmentation:
|
||||
@staticmethod
|
||||
def load_seg_result(image_id):
|
||||
file_path = f"seg_cache/{image_id}.npy"
|
||||
logger.info(f"load seg file name is :{SEG_CACHE_PATH}{image_id}.npy")
|
||||
# logger.info(f"load seg file name is :{SEG_CACHE_PATH}{image_id}.npy")
|
||||
try:
|
||||
seg_result = np.load(file_path)
|
||||
return True, seg_result
|
||||
|
||||
Reference in New Issue
Block a user