![thumbnail](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fclr1Et%2FbtrJyreXplf%2FewztAnmLpeSPGBbrZNrKBK%2Fimg.png)
Face Alignment
2022. 8. 12. 10:40
인공지능/computer vision
[기대되는 실행 내용] psp 인코더에 입력하기에 좋은 형태로 얼굴을 align 변환된 얼굴을 기존 얼굴 각도로 synthesis align 하는 과정에서 나오는 각도 정보를 저장하여 합성 시에 적용 [참고 코드] stylegan2/align_images.py at master · justinpinkney/stylegan2 toonify/toonify-yourself.ipynb at master · justinpinkney/toonify [colab demo] %tensorflow_version 1.x git clone https://github.com/justinpinkney/stylegan2 %cd stylegan2 mkdir raw mkdir aligned # !wget https://images...
![thumbnail](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fb2KjSa%2FbtrJwpVYD0y%2FDLo6ncZaMsUTUUNAwHrr11%2Fimg.png)
Audio Reactive styleGAN (pending)
2022. 8. 12. 10:28
인공지능/computer vision
git clone & run docker container & requirements git clone https://github.com/JCBrouwer/maua-stylegan2 NV_GPU=1 nvidia-docker run --name bernice-audio-reactive -it -v $(pwd):/workspace -v $(readlink -f disk1):/disk1 nvcr.io/nvidia/pytorch:21.09-py3 /bin/bash pip install -r requirements.txt 2. get the sources James Blake - CMYK https://loader.to/ko24/youtube-wav-converter.html YouTube MP3 Playlist..
![thumbnail](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fb2Ib5Y%2FbtrJyrzdiCq%2FZ61pgjCJzHuObSDjvGWI80%2Fimg.png)
GAN실험 - Inversion of Input Images
2022. 8. 12. 10:08
인공지능/computer vision
[GAN inversion] vi image_inversion.py mkdir noise python image_inversion.py --resolution 256 --src_im human01.jpg --src_dir /disk1/human_examples/ --save_dir /disk1/human_examples --weight_file /disk1/zzalgun/pretrained_models/ffhq_256_rosinality.pt vi image_inversion.py mkdir noise python image_inversion.py --resolution 256 --src_im human01.jpg --src_dir /disk1/human_examples/ --save_dir /disk1..
emoji crawling
2022. 8. 12. 10:00
컴퓨터/python
🤦♀️ People & Body Emojis url = 'https://emojigraph.org/people-body' response = requests.get(url).text.encode('utf-8') response = BeautifulSoup(response, 'html.parser') div_contents = response.find('h2', text='Person').findParent() big_urls = [] for link in div_contents.findAll('a'): tail = str(link.get('href')) big_urls.append('https://emojigraph.org'+tail) small_urls = [] for l in range(len(bi..
![thumbnail](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FYqnVA%2FbtrJvk186iq%2FLBB78qVd4kVv5JS7KKu3lk%2Fimg.png)
GAN실험 - few-shot GAN adaptation
2022. 8. 12. 09:51
인공지능/computer vision
[workstation] 환경 : RTX 3090 데이터 : 박대리의 현실고증 직장생활 얼굴 10장 사전학습 모델 : 위와 동일 *tmux session 시작 1) few-shot 학습용 도커 컨테이너 생성 및 실행 (nvidia pytorch 9월 이미지 사용) NV_GPU=1 nvidia-docker run --name bernice-few-shot -it -v $(pwd):/workspace -v $(readlink -f disk1):/disk1 nvcr.io/nvidia/pytorch:21.09-py3 /bin/bash 2) 이미지 전처리 박대리의 현실고증 직장생활 짤 10개 선정 수기로 얼굴 크롭 아래와 같이 투명 제거 import glob, os import matplotlib.pyplot a..
![thumbnail](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fbt8m2f%2FbtrJt3s7v11%2FkTrcDHpIQSyLanY3by3UU1%2Fimg.png)
GAN실험 - AnimeGANv2 학습
2022. 8. 12. 00:07
인공지능/computer vision
docker container 실행 (stylegan2-train) python, tensorflow 버전 확인 기존 AnimeGANv2 레파지토리(impersonator++ 후보정에 사용)에 _old 붙이고 새로 git clone [test.py] python test.py --checkpoint_dir checkpoint/generator_Hayao_weight --test_dir dataset/test/HR_photo --save_dir Hayao/HR_photo [train.py] 학습데이터 디토님으로부터 전달 받음 vgg19.npy 다운 받아 이동 train dataset 다운로드 Genshin/style/ 아래 학습데이터 이동 나머지 스타일 데이터 삭제 tools 아래 있던 edge_smoot..
![thumbnail](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2F2pNff%2FbtrJu4LNocr%2FjjFtRCkoW2WSFKyW7UPJkk%2Fimg.png)
kubeflow/kubernetes 시작하기
2022. 8. 12. 00:00
인공지능/MLOps
kubernetes : 컨테이너를 쉽고 빠르게 배포/확장하고 관리를 자동화해주는 오픈소스 플랫폼 kubeflow : ML 파이프라인을 kubernetes 위에서 배포할 수 있게 함 minikube : 로컬 환경에서 kubernetes 를 단일 노드로 간단하게 구성할 수 있게 해주는 툴 miniKF : kubeflow 미니 버전, 로컬에서 손쉽게 적용 가능
config 설정으로 편리하게 서버 접속하기
2022. 8. 11. 23:59
컴퓨터/Cloud, Server
매번 아래와 같이 접속하는 대신에 ssh -p @ ~/.ssh/config 파일에 내용을 추가해서 Host persephone Hostname -- Port 1234 IdentityFile ~/.ssh/id_rsa User bernice LogLevel QUIET Ciphers aes128-ctr,aes192-ctr,aes256-ctr Compression yes ForwardX11 yes ForwardX11Trusted yes ssh persephone 로만 접속하는 방법이 있다