umyuu commited on
Commit
0186f79
·
1 Parent(s): 39d2064

log.infoをコメントアウト

Browse files
Files changed (1) hide show
  1. src/myapp.py +6 -6
src/myapp.py CHANGED
@@ -45,24 +45,24 @@ def submit_Clicked(image: np.ndarray, algorithm: str):
45
  np.ndarray: JET画像
46
  np.ndarray: HOT画像
47
  """
48
- log.info(f"#submit_Clicked")
49
  watch = utils.Stopwatch.startNew()
50
 
51
  saliency = SaliencyMap(algorithm)
52
  success, saliencyMap = saliency.computeSaliency(image)
53
- log.info(f"#SaliencyMap computeSaliency()")
54
 
55
  if not success:
56
  return image, image # エラーが発生した場合は入力画像を返します。
57
 
58
- log.info(f"#jet")
59
  jet = convertColorMap(image, saliencyMap, "jet")
60
  #jet = None
61
- log.info(f"#hot")
62
- hot = convertColorMap(image, saliencyMap, "turbo")
63
 
64
  saliency = None
65
- log.info(f"#submit_Clicked End{watch.stop():.3f}")
66
 
67
  return jet, hot
68
 
 
45
  np.ndarray: JET画像
46
  np.ndarray: HOT画像
47
  """
48
+ #log.info(f"#submit_Clicked")
49
  watch = utils.Stopwatch.startNew()
50
 
51
  saliency = SaliencyMap(algorithm)
52
  success, saliencyMap = saliency.computeSaliency(image)
53
+ #log.info(f"#SaliencyMap computeSaliency()")
54
 
55
  if not success:
56
  return image, image # エラーが発生した場合は入力画像を返します。
57
 
58
+ #log.info(f"#jet")
59
  jet = convertColorMap(image, saliencyMap, "jet")
60
  #jet = None
61
+ #log.info(f"#hot")
62
+ hot = convertColorMap(image, saliencyMap, "hot")
63
 
64
  saliency = None
65
+ #log.info(f"#submit_Clicked End{watch.stop():.3f}")
66
 
67
  return jet, hot
68