반응형

컴퓨터/AI 3

[Python] GPT 3 음성 인터랙션 - (Speech to Text 모듈)

GPT 3 API를 호출하여 파이썬으로 질의 응답 할 수 있는 코드이다. 파이썬 코드를 실행하기 전에 준비해야 할 것들이 있다. 1. GPT 3 API 인증 키 확인하기 OpenAI 사이트에서 확인할 수 있다. (유출 안되게 조심할 것) 2. 아나콘다 환경 세팅 아나콘다가 설치 되어있는 사람이라면 새로운 environment 를 만들어 줄 것 conda create -n openchat conda activate openchat 그리고 필요한 것들을 pip 로 설치해주자 pip install openai pip install pyaudio pip install SpeechRecognition 3. 파이썬 코드 실행하기 import openai import pyaudio import speech_recog..

컴퓨터/AI 2023.05.04

[딥러닝 모델] SOTA(State-of-the-Art) 알고리즘, paperswithcode

딥러닝을 공부하다보면 해당 태스크에 대해 제일 성능이 좋은 알고리즘이 궁금한 때가 많다. SOTA(State-of-the-Art) 모델을 찾아보기에 유용한 사이트를 소개하겠다. https://paperswithcode.com/ Papers with Code - The latest in Machine Learning Papers With Code highlights trending Machine Learning research and the code to implement it. paperswithcode.com 가장 최신의 머신러닝 모델, 논문을 모아놓은 사이트이다. 해당 사이트가 좋은 점은 논문,깃헙을 같이 공개한다는 점이다. 또한 특정한 태스크(ex, 감정인식) 에 많이 사용되는 데이터셋, 모델을 검..

컴퓨터/AI 2022.05.12

[Python, AI] MediaPipe를 이용하여 Hand Tracking 하기

MediapPipe는 ML을 이용한 개발을 쉽게 할 수 있도록 도와주는 크로스 플랫폼이다. 얼굴, 손, 오브젝트 등 Tracking, recognition을 쉽게 할 수 있도록 해준다. Android, MacOS, Windows,Python, C++, JavaScript 등을 지원해준다. https://google.github.io/mediapipe/getting_started/python.html MediaPipe in Python Cross-platform, customizable ML solutions for live and streaming media. google.github.io 1. 가상환경 생성 conda create -n mediapipe 2. 가상환경 활성화 conda activate ..

컴퓨터/AI 2022.03.28