Solving Glare on a Camera AI Competition

Algorithm | CV | Image convert | Control | PSNR

  • moneyIcon Prize : Total 1,000만원
  • 1,295 Users Completed

 

[공지] 평가 산식 오류 수정 안내(수정 완료)

2021.07.01 19:37 3,888 Views

안녕하세요. 데이콘입니다.


현재 리더보드에 적용되있는 PSNR 평가 산식에 오류가 발견되어 수정중에 있습니다.


수정된 사항은 아래와 같습니다.


평가 산식이 수정됨에 따라 기존 제출파일도 수정된 산식으로 재채점중에 있으며


해당 이슈가 수정되는 동안 임시로 제출 제한되오니 양해 부탁드립니다.


최대한 빠르게 수정 반영하여 정상 참여 가능하도록 하겠습니다.


감사합니다.

데이콘 드림


-----------2021년 07월 01일 20:07------------

산식 오류 수정이 완료 및 리더보드 반영 완료 되었습니다.

정상 제출 가능합니다.

대회 참여에 불편을 드려 죄송합니다.

감사합니다.

데이콘 드림


수정 전 (uint8 자료형으로 계산되어 결과가 높게 나옵니다.)

def rmse_score(true, pred):
    score = math.sqrt(np.mean((true-pred)**2))
    return score

def psnr_score(true, pred, pixel_max):
    score = 20*np.log10(pixel_max/rmse_score(true, pred))
    return score

score = psnr_score(true, pred)


수정 후(uint8 자료형을 float으로 수정하여 정상 결과가 나옵니다.)

def rmse_score(true, pred):
    score = math.sqrt(np.mean((true-pred)**2))
    return score

def psnr_score(true, pred, pixel_max):
    score = 20*np.log10(pixel_max/rmse_score(true, pred))
    return score

score = psnr_score(true.astype(float), pred.astype(float))