Closed kolibriks closed 1 year ago
yolo_cam/base_cam.py def get_target_width_height
code: width, height = np.shape(input_tensor)[0],np.shape(input_tensor)[1] problem: np.shape returns the height first, then the width
width, height = np.shape(input_tensor)[0],np.shape(input_tensor)[1]
fix: height, width = np.shape(input_tensor)[0],np.shape(input_tensor)[1]
height, width = np.shape(input_tensor)[0],np.shape(input_tensor)[1]
created pull request to fix this issue https://github.com/rigvedrs/YOLO-V8-CAM/pull/7#issue-1912152498
yolo_cam/base_cam.py def get_target_width_height
code:
width, height = np.shape(input_tensor)[0],np.shape(input_tensor)[1]
problem: np.shape returns the height first, then the widthfix:
height, width = np.shape(input_tensor)[0],np.shape(input_tensor)[1]