'AI 구현' 카테고리의 글 목록 (2 Page)
본문 바로가기

AI 구현10

CLOVA Speech API 사용법 및 화자분할 테스트 NAVER CLOVA Speech네이버의 CLOVA Speech는 NEST (Neural End-to-end Speech Transcriber) 음성 인식 기술을 통해, 정형화되지 않은 발화를 인식하여 텍스트로 바꿔주는 서비스 입니다. 여기서 NEST란, end-to-end 방식으로 학습하여 정형화되지 않은 길고 복잡한 문장에 대해서도 정확한 음성 인식을 가능케하는 기술을 말합니다. CLOVA Speech는 음성 명령 인식 기능, 음성-텍스트 변환 받아쓰기 기능, 화자 인식 기능을 제공합니다. 저는 화자분할 (Speaker Diarization) 서비스를 만들기 위해, 최소 1분 이상의 장문 발화 인식이 가능한 CLOVA Speech API를 사용하기로 결정했습니다. CLOVA Speech API 사용 .. 2024. 5. 13.
맥북 M1 pro에 Tensorflow, Keras 개발 환경 세팅하기 Visual Studio Code에서 구동하였습니다. 1. Motivation 딥러닝 공부를 위해서 Tensorflow 환경을 세팅해야 했습니다. M1의 경우 anaconda에서 tensorflow, keras 지원을 안한다고 들어서 miniforge를 이용해 tensorflow, keras를 설치하였습니다. miniforge는 anaconda의 축소 버전입니다. 2. miniforge 다운로드 https://github.com/conda-forge/miniforge GitHub - conda-forge/miniforge: A conda-forge distribution. A conda-forge distribution. Contribute to conda-forge/miniforge developmen.. 2023. 10. 30.
M1 Mac에서 Image data augmentation 오류 해결 Error Message NotFoundError: No registered 'RngReadAndSkip' OpKernel for 'GPU' devices compatible with node { {node RngReadAndSkip}} . Registered: device='XLA_CPU_JIT' device='CPU' [Op:RngReadAndSkip] Solution # 텐서를 CPU에 할당 with tf.device('/cpu:0'): data_augmentation = keras.Sequential( [ layers.RandomFlip("horizontal"), layers.RandomRotation(0.1), layers.RandomZoom(0.2), ] ) tensorflow-metal 플러.. 2023. 10. 1.
google-colab import 시 오류 해결(AttributeError: module 'IPython.utils.traitlets' has no attribute 'Unicode') Visual Studio Code에서 google-colab을 import 할 때 뜬 에러이다. 찾아보니, 일반적인 파이썬 인터프리터 환경이 아닌 ipython 환경인 jupyter notebook 또는 Colab에서 실행하면 된다고 한다. The library google-colab is not designed to run in a normal Python REPL, which means that you have to run this in an ipython environment like Jupiter notebooks or colab rather than the python interpreter directly. Reference https://github.com/tensorflow/cloud/iss.. 2023. 9. 30.