본문 바로가기

회고록(TIL&WIL)

TIL 2022.06.23 머신러닝 특강

유화제작 프로젝트

 

모델 학습 은 하지않을 것이고

잘 짜여진 코드들이 있고

그것을 어떻게 사용할 지

 

텐서모델 이용해서

사람 표정을 바꾼다던지

스타일을 바꾼다던지

하는 프로젝트들을 공유 해주실 예정

내일은 어떤 원리로 그림이 그려지고 표정이 바뀌고하는지

이론 적인 부분을 다뤄볼 예정

 

오늘 것만 익혀도 프로젝트하는데 문제는 없을 것

유화 제작 Style Transfer

https://github.com/crowsonkb/style-transfer-pytorch

 

GitHub - crowsonkb/style-transfer-pytorch: Neural style transfer in PyTorch.

Neural style transfer in PyTorch. Contribute to crowsonkb/style-transfer-pytorch development by creating an account on GitHub.

github.com

venv 새로 만들어서 작업할 때 pip upgrade 해줘야하는데

복구하면서 upgrade하기

python -m ensurepip --upgrade

터미널 단에서 명령어를 입력하는 방법이 있다.

python -m pip install --upgrade pip

위의 git hub 클론해서

install 후 basic useage 진행

경로 맞춘 다음 설치 및 사용법

pip install -e .

style_transfer asdf.jpg qwer.jpg  -o output.jpg

input 넣으면 실제 사물처럼 형상화 해주거나 위성지도를 지도형태로 바꿔주거나 하는 기능

https://github.com/phillipi/pix2pix.git

 

GitHub - phillipi/pix2pix: Image-to-image translation with conditional adversarial nets

Image-to-image translation with conditional adversarial nets - GitHub - phillipi/pix2pix: Image-to-image translation with conditional adversarial nets

github.com

베이스 사진을 기준으로 비슷한 이미지 만들어주는거

https://github.com/lucidrains/stylegan2-pytorch.git

 

GitHub - lucidrains/stylegan2-pytorch: Simplest working implementation of Stylegan2, state of the art generative adversarial net

Simplest working implementation of Stylegan2, state of the art generative adversarial network, in Pytorch. Enabling everyone to experience disentanglement - GitHub - lucidrains/stylegan2-pytorch: S...

github.com

이미지에 움직이게하기? 애니캐릭터 얼굴각도가 조정된다거나 자동차를 돌려서 볼 수 있다던가

https://github.com/genforce/sefa

 

GitHub - genforce/sefa: [CVPR 2021] Closed-Form Factorization of Latent Semantics in GANs

[CVPR 2021] Closed-Form Factorization of Latent Semantics in GANs - GitHub - genforce/sefa: [CVPR 2021] Closed-Form Factorization of Latent Semantics in GANs

github.com

 

 

https://github.com/ChengBinJin/Real-time-style-transfer

 

GitHub - ChengBinJin/Real-time-style-transfer: Tensorflow implementation of Justin Johnson's paper, perceptual losses for real-t

Tensorflow implementation of Justin Johnson's paper, perceptual losses for real-time style transfer and super-resolution. - GitHub - ChengBinJin/Real-time-style-transfer: Tensorflow implementat...

github.com