강의

멘토링

커뮤니티

Inflearn Community Q&A

tini0136's profile image
tini0136

asked

[Revised Edition] Deep Learning Computer Vision: The Complete Guide

OpenCV DNN으로 Faster RCNN Object Detection 실습 01

matplotlibrc 업데이트 하라고 나오는데 어떻게 해야 할까요?

Written on

·

714

0

Bad key "text.kerning_factor" on line 4 in
/home/ilchul.jung/anaconda3/envs/tf113/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib/_classic_test_patch.mplstyle.
You probably need to get an updated matplotlibrc file from
https://github.com/matplotlib/matplotlib/blob/v3.1.3/matplotlibrc.template
or from the matplotlib source distribution
딥러닝keras머신러닝 배워볼래요? tensorflowpython컴퓨터-비전

Answer 4

0

tini0136님의 프로필 이미지
tini0136
Questioner

수정 잘 되었습니다.

강사님의 빠른 응대 감사합니다. ^^*

0

dooleyz3525님의 프로필 이미지
dooleyz3525
Instructor

matplotlib 3.2가 설치되어야 하는데, matplotlib 3.1이 설치 되면서 matplotlib의 style을 설정하는 config 파일중에 하나가 버전이 안맞아서 나타나는 현상이군요. 3.2에서 사용되어야 할 style config 파일이 3.1에서 사용되고 있습니다.

실습 예제를 수행하는데는 문제가 없습니다.  최초 matplotlib 로딩 시에만 발생하는데 오류가 보기 싫으시면 다음과 같이 작업하시면 됩니다.

1. 먼저 아래와 같이 해당 디렉토리로 이동하십시요.

cd ~/anaconda3/envs/tf113/lib/python3.6/site-packages/matplotlib/mpl-data/stylelib

2.  vi  _classic_test_patch.mplstyle 로 해당 파일을 여시고 text.kerning_factor:6 부분을 주석 처리해 주십시요.

# text.kerning_factor : 6

좋은 정보 감사합니다.

0

tini0136님의 프로필 이미지
tini0136
Questioner

감사합니다.

0

dooleyz3525님의 프로필 이미지
dooleyz3525
Instructor

안녕하십니까,

어떤 소스코드에서 이런 에러가 나는지 기재 부탁드립니다.

감사합니다.

tini0136's profile image
tini0136

asked

Ask a question