Clever ideas that failed (2010)
yacoset.com159 ポイント投稿者 walrus24 コメント
git clone https://github.com/taki0112/UGATIT
cd UGATIT
pyenv install 3.6.10 # [2]
pyenv virtualenv 3.6.10 UGATIT
pyenv local UGATIT
pyenv activate
pip install opencv-python==4.2.0.34 tensorflow==1.14.0
Download the pretrained weights from https://github.com/taki0112/UGATIT/issues/50#issuecomment-53.... Extract them: tar xf ugatit100.tar.xz
mkdir checkpoint
mv UGATIT_selfie2anime* checkpoint
mkdir -p dataset/selfie2anime/{train,test}{A,B}
Crop your images in a 1:1 aspect ratio so that they contain only the head. Place them in the dataset/selfie2anime/testA/ directory. Run the program: python main.py --dataset selfie2anime --phase test
Open results/*/index.html in your browser to see the results.