'upsample' object has no attribute 'recompute_scale_factor'

각종 에러들을 해결 해 보자

torch | attributeerror: 'upsample' object has no attribute 'recompute_scale_factor'

우분투를 다시 한번 싹- 밀고 날 것 그 자체의 환경에서 이전에 개발했던 객체 검출 모델을 사용한 코드의 동작 테스트를 진행하던 중 아래와 같은 에러를 마주했다. attributeerror: 'upsample' object has no attribute 'recompute_scale_factor' File /usr/local/lib/python3.8/site-packages/torch/nn/modules/upsampling.py:154, in Upsample.forward(self, input) 152 def forward(self, input: Tensor) -> Tensor: 153 return F.interpolate(input, self.size, self.scale_factor, self.mod..

토오오끼
''upsample' object has no attribute 'recompute_scale_factor'' 태그의 글 목록