본문 바로가기

분류 전체보기

(264)
ImportError: No module named 'jpype' 파이썬 한글 형태 분석 라이브러리에서 'Kkma' import 하게되면 아래와 같은 에러가 발생 할 수 있다. Traceback (most recent call last): File "konlp.py", line 1, in from konlpy.tag import Kkma File "/usr/local/lib/python3.5/dist-packages/konlpy/__init__.py", line 15, in from . import tag File "/usr/local/lib/python3.5/dist-packages/konlpy/tag/__init__.py", line 4, in from ._hannanum import Hannanum File "/usr/local/lib/python3.5/dist-..
파이썬 한글 구분하는 코드 import sysimport re def isHangul(text): #Check the Python Version pyVer3 = sys.version_info >= (3, 0) if pyVer3 : # for Ver 3 or later encText = text else: # for Ver 2.x if type(text) is not unicode: encText = text.decode('utf-8') else: encText = text hanCount = len(re.findall(u'[\u3130-\u318F\uAC00-\uD7A3]+', encText)) return hanCount > 0 파이썬 한글 구분하는 코드
Error:Execution failed for task ':buildNativeBazel'. > A problem occurred starting process 'command '/usr/local/bin/bazel'' Error:Execution failed for task ':buildNativeBazel'. > A problem occurred starting process 'command '/usr/local/bin/bazel'' 텐서블로 라이트(Tensorflow Lite) 안드로이드 빌드시 발생 해결방법build.gradle 파일에서 아래의 내용을 def nativeBuildSystem = 'bazel'을 def nativeBuildSystem = 'none'으로 변경해주자.
Process: org.tensorflow.demo, PID: 26192 java.lang.RuntimeException: Problem reading label file! 11-15 11:25:12.201 26192-26192/org.tensorflow.demo E/AndroidRuntime: FATAL EXCEPTION: main Process: org.tensorflow.demo, PID: 26192 java.lang.RuntimeException: Problem reading label file! at org.tensorflow.demo.TensorFlowImageClassifier.create(TensorFlowImageClassifier.java:100) at org.tensorflow.demo.ClassifierActivity.onPreviewSizeChosen(ClassifierActivity.java:114) at org.tensorflow.demo.Came..
yacc: command not found mkdir -p Libtest -z "1" || (cd CCache && make)echo "/* SWIG warning codes */" > Lib/swigwarn.swgcat Source/Include/swigwarn.h | grep "^#define WARN\|/\*.*\*/\|^[ \t]*$" | sed 's/^#define \(WARN.*[0-9][0-9]*\)\(.*\)$/%define SWIG\1 %enddef\2/' >> Lib/swigwarn.swgmake[1]: Entering directory '/root/swig/CCache'gcc -g -O2 -Wall -W -I. -c -o ccache.o ccache.cgcc -g -O2 -Wall -W -I. -c -o mdfour.o mdf..
Could not find a package configuration file provided by "dynamic_reconfigure" CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package): Could not find a package configuration file provided by "dynamic_reconfigure" with any of the following names: dynamic_reconfigureConfig.cmake dynamic_reconfigure-config.cmake Add the installation prefix of "dynamic_reconfigure" to CMAKE_PREFIX_PATH or set "dynamic_reconfigure_DIR" to a directory containin..
Could not find a package configuration file provided by "nodelet" CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package): Could not find a package configuration file provided by "nodelet" with any of the following names: nodeletConfig.cmake nodelet-config.cmake Add the installation prefix of "nodelet" to CMAKE_PREFIX_PATH or set "nodelet_DIR" to a directory containing one of the above files. If "nodelet" provides a separate d..
404 Not Found [IP: 91.189.88.161 80] 404 Not Found [IP: 91.189.88.161 80] Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/u/util-linux/bsdutils_2.17.2-0ubuntu1.10.04.2_amd64.deb 404 Not Found [IP: 91.189.88.161 80]Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl0.9.8_0.9.8k-7ubuntu8.15_amd64.deb 404 Not Found [IP: 91.189.88.161 80]Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/pyt..