AI

    [AI - Trouble Shooting] KeyError: 'Non-exist config key: DATASET.VOCABULARY.EXCLUDE_TOKENS'

    배경 AI-HUB의 한국 수어 영상 데이터셋을 통해 학습된 KSL Model을 지금 진행 중인 프로젝트에 적용하여 API로 구현하기 위해서 해당 모델을 실행하기 위해 코랩 환경에서 의존성 설정을 모두 마치고 실행을 했다. 이런 오류가 발생해서 이유를 찾아보니 config 파일에서 데이터셋의 키 값의 오류라고 판단되었다. 해당 config 파일을 살펴보니 DATASET: DATA_ROOT: "/home/storage/sde_2T" TRAIN: IMG_PREFIX: "NIA_sen" ANN_FILE: "KSL_TRAIN_QD_final.csv" VAL: IMG_PREFIX: "NIA_sen" ANN_FILE: "KSL_VAL_QD_final.csv" WORKER_PER_GPU: 16 TRANSFORM: RE..

    [AI - NLP] Chat GPT를 API로 만들어보자.

    요즘 ChatGPT를 굉장히 많은 곳에서 사용하고 있다. 간단한 것을 직접 구글에 검색해서 찾는 것이 아니라 ChatGPT에 물어보면 간편하게 확인할 수 있어서 좋다. 지금 진행중인 프로젝트에서 주어진 단어들을 포함하는 완벽한 문장을 만드는 기능이 필요해서 문장생성이 가능한 모델인 GPT 중 가장 인기가 많은 ChatGPT를 API로 만들어보자. (python 코드로 진행됩니다.) pip install openai 먼저! openai를 설치해준다. import openai API_KEY = 'your api key' openai.api_key = API_KEY first_query = 'Use these words in order, one at a time, to make a sentence.' seco..

    [AI] OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized

    AI 모델을 커스텀하던 도중 이러한 오류가 발생했다.. 커스텀 하기 이전에는 발생하지 않았던 문제이다. 찾아보니 매우 간단한 방법으로 해결이 가능하다. 여러 라이브러리가 충돌되어 일어나는 문제라고 한다. import os os.environ['KMP_DUPLICATE_LIB_OK']='True' 상단에 이 코드를 작성해주고 실행하면 문제가 해결된다!

    [AI - Review] MobileFaceSwap 사용하기

    MobileFaceSwap 모델의 기능을 수행하기 위한 test 코드를 리뷰해보자. https://github.com/Seanseattle/MobileFaceSwap GitHub - Seanseattle/MobileFaceSwap: MobileFaceSwap: A Lightweight Framework for Video Face Swapping (AAAI 2022) MobileFaceSwap: A Lightweight Framework for Video Face Swapping (AAAI 2022) - GitHub - Seanseattle/MobileFaceSwap: MobileFaceSwap: A Lightweight Framework for Video Face Swapping (AAAI 2022) g..

    [Anaconda] CondaSSLError 발생

    이 에러는 conda의 버전이 낮아 발생하는 문제이다. conda update --all 을 해주면 해결될 문제이다!!

    [AI] CUDA와 cuDNN 설치

    먼저 CUDA 드라이버를 다운로드 해주어야 한다. https://en.wikipedia.org/wiki/CUDA#Version_features_and_specifications CUDA - Wikipedia From Wikipedia, the free encyclopedia Jump to navigation Jump to search Parallel computing platform and programming model CUDA (or Compute Unified Device Architecture) is a parallel computing platform and application programming interface (API) that allows en.wikipedia.org GPUs sup..

    [AI] MobileFaceSwap 환경 설정 2

    지난 포스트에서 필요한 환경 설정이 완료되었으니 이번에는 추론을 해볼 것이다. https://github.com/Seanseattle/MobileFaceSwap GitHub - Seanseattle/MobileFaceSwap: MobileFaceSwap: A Lightweight Framework for Video Face Swapping (AAAI 2022) MobileFaceSwap: A Lightweight Framework for Video Face Swapping (AAAI 2022) - GitHub - Seanseattle/MobileFaceSwap: MobileFaceSwap: A Lightweight Framework for Video Face Swapping (AAAI 2022) gith..

    [AI] MobileFaceSwap 환경 세팅

    https://www.youtube.com/watch?v=utZgq994Kds 위 유튜브에서 처음 접한 MobileFaceSwap을 사용하기 위해서 환경을 설정해보자. https://github.com/Seanseattle/MobileFaceSwap GitHub - Seanseattle/MobileFaceSwap: MobileFaceSwap: A Lightweight Framework for Video Face Swapping (AAAI 2022) MobileFaceSwap: A Lightweight Framework for Video Face Swapping (AAAI 2022) - GitHub - Seanseattle/MobileFaceSwap: MobileFaceSwap: A Lightweight ..