람쥐썬더

[PYTHON] 'Keyword argument not understood:', 'keepdims' 본문

에러

[PYTHON] 'Keyword argument not understood:', 'keepdims'

람쥐썬더123 2022. 10. 24. 10:10

'Keyword argument not understood:', 'keepdims'

 

model load 하는 과정에서 요상한 녀석이 뜨길래 확인해봤다

keepdims 는 numpy에서 자주 쓰던건데 몬가 이상해서 확인했더니 GAP layer 쓰는 모델이 안불러와지드라..

 

찾아보니 TF < 2.6 일때 이런 에러가 난다고 해서 upgrade해줬당

 

pip install tensorflow --upgrade