Issues & Troubleshooting (6) 썸네일형 리스트형 [Python] KoBERT 사용 시 에러 처리 1. KoBERT 모델 선언 >> get_pytorch_kobert_model 사용 할 경우 HTTPS 에러 발생 ? --> KoBERT 개발자 깃허브/issue 참고 다른 모델 불러온다(get_kobert_model()) ** 추후 모델 저장 후 eval() 할 경우 모델 클래스는 항상 선언되어 있어야 함 #kobert from KoBERT.kobert.utils import get_tokenizer from KoBERT.kobert.pytorch_kobert import get_kobert_model tokenizer = KoBERTTokenizer.from_pretrained('skt/kobert-base-v1') bertmodel, vocab = get_kobert_model('skt/kobert.. [Python] Windows 맷플롯립(matplotlib) 한글 깨짐 처리 import matplotlib.pyplot as plt plt.rc('font', family='Malgun Gothic') # 음수 처리 plt.rcParams['axes.unicode_minus'] = False [Python] konlpy 에러 처리 AttributeError: module 'tweepy' has no attribute 'StreamListener' 에러 내용 AttributeError: module 'tweepy' has no attribute 'StreamListener' 해결법 twitter.py 내부 클래스 매개변수 수정 class CorpusListener(tweepy.Stream): 간단한 구글 크롬 펌 방지 해제 크롬 브라우저에서 펌 방지 해제하는 법 1. F12 버튼을 눌러 개발자 도구에 들어간 후 우측 상단 톱니바퀴(Settings) 클릭 2. Settings 에서 Disable JavaScript 체크 박스 활성화 레퍼런스는 꼭 남기기로 해요 :) [Python] .npy 파일 불러올 때 에러 처리 ValueError: Object arrays cannot be loaded when allow_pickle=False import numpy as np X_train, X_test, y_train, y_test = np.load('.ndy file', allow_pickle=True) 해결법 allow_pickle에 True 값을 전달한다. [Python] keras load_data()호출 시 에러 처리 Exception: URL fetch failure import ssl ssl._create_default_https_context = ssl._create_unverified_context 이전 1 다음