데이터 전처리 과정에서 data를 json형태로 저장하려 했다. 허나 한국어 관련 프로젝트라 그런지 data에 한국어가 포함되어있어 위와같은 오류가 발생한 것으로 보인다. 기존 코드는 이런 식이였다. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 import json DATA_IN_PATH = '../data/' DATA_CONFIGS = 'data_configs.json' data_configs = [] data_configs['vocab'] = word_vocab data_configs['vocab_size'] = len(word_vocab)+1 import os if not os.path.exists(DATA_IN_PATH): os.makedirs(DEFAULT_PATH..