티스토리 뷰
기계학습
[Pytorch]“AttributeError: LSTM object has no attribute flat_weights_names”
Demis Tae Kyu Eom 2020. 3. 31. 17:56모델 학습하고 API를 만들면서 모델 불러오는 과정 중에 에러가 나와서 해결 방법 정리...
“AttributeError: LSTM object has no attribute flat_weights_names”
사실 창피하게도 torch 설치 버전이 안맞아서 그런거 였음... 학습은 1.1.0에서 하고 API세팅하면서 torch 버전을 1.3으로 설치했더니 버전이 안맞아서 생긴 문제였다...
'기계학습' 카테고리의 다른 글
[Pytorch] nn.Embedding.from_pretrained로 fasttext 불러오기 (0) | 2020.04.19 |
---|---|
[Gensim] unable to import 'smart_open.gcs', disabling that module 오류 해결 (0) | 2020.04.19 |
[Pytorch] F.cross entropy vs nn.Cross Entropy loss (0) | 2020.02.27 |
[Python] 데이터 셋 간단하게 나누기 (0) | 2020.02.21 |
경량 딥러닝 간단한 흐름 정리 (0) | 2019.09.06 |
댓글