전체 글 (130) 썸네일형 리스트형 [에러 해결] Undefined Control Sequence error in latex : newcommand로 정의가 필요 에러: Undefined Control Sequence error in latex latex에서 equation을 넣었는데 이렇게 빨간 에러가 난다Undefined control sequence 라고 써져있었다 package를 안 가져온 에러인줄 처음에는 착각했다 해결: new command with ensure math \newcommand{\x}{\ensuremath{\boldsymbol{x}}} 알고보니 이런 math equation도 정의가 필요했다. 패키지를 정의하는 곳으로 가서 math new command 빠진 것이 있는지 확인해보자 [에러 해결] AttributeError: 'NoneType' object has no attribute 'tokenize' / hugginface pipeline이 안 맞아서 에러 : AttributeError: 'NoneType' object has no attribute 'tokenize' python3.10/site-packages/diffusers/loaders/textual_inversion.py", line 161, in _maybe_convert_prompt tokens = tokenizer.tokenize(prompt) AttributeError: 'NoneType' object has no attribute 'tokenize' AttributeError가 났다 diffusers package에서 나서 디버깅 중이었는데 해결 : pipeline과 unet 매칭 문제 알고보니 sd1.5 unet을 sdxl pipeline에 넣으려고 해서 .. [에러 해결] AttributeError: "load()" has been removed, use yaml .. / pip install ruamel.yaml==0.17.* AttributeError: "load()" has been removed, use yaml .. AttributeError load() has been removed, use yaml.load(...) code에서 config = yaml.load(open(config, 'r'), Loader=yaml.loader) 가 있는데 여기서 AttributeError가 났다 해결: pip install ruamel.yaml==0.17.* pip install ruamel.yaml==0.17.*pip install ruamel.yaml==0.17.* yaml 과 관련된 specific한 버전을 설치하면 된다 Referencehttps://github.com/debbiemarksla.. 이전 1 ··· 10 11 12 13 14 15 16 ··· 44 다음