FreezeG
Freezing generator for pseudo image translation
Install / Use
/learn @bryandlee/FreezeGREADME
FreezeG
Freezing generator for *pseudo* image translation
Inspired by the training footage of FreezeD trasfer learning, I have tested a simple idea of freezing the early layers of the generator in transfer learning settings, and it worked pretty well. Reusing the high-level layers of a pre-trained generator for image-to-image translation is not a novel idea [1], [2], and I guess it could be also applied to the transfer learning of noise-to-image GANs. This is a pseudo translation method because the input image should be projected to the learned latent space first, and then the projected vector is propagated again to generate the target image. Therefore, the performance is limited to the in-domain images of the original GAN. I used StyleGAN2 implementation, and below are some of the results I've got. By also fixing the latent vector of the early layers and manipulating the ones that are fed into the last layers, the rendering style can be controlled separately. For the datasets with large geometric transformations such as face2simpsons, the connection between the original image and the resulting image becomes less intuitive. See cat2flower for an extreme case.
Cat2Wild [AFHQ]
<img src="./imgs/cat2wild/3.gif" width="320"> <img src="./imgs/cat2wild/1.gif" width="320">
<img src="./imgs/cat2wild/2.gif" width="650">
Face2Malnyun [FFHQ, Malnyun]
<img src="./imgs/face2malnyun/1.png" width="320"> <img src="./imgs/face2malnyun/2.png" width="320">
<img src="./imgs/face2malnyun/3.png" width="320"> <img src="./imgs/face2malnyun/4.png" width="320">
<img src="./imgs/face2malnyun/5.png" width="320"> <img src="./imgs/face2malnyun/6.png" width="320">
<img src="./imgs/face2malnyun/7.png" width="320"> <img src="./imgs/face2malnyun/8.png" width="320">
Interpolation
<img src="./imgs/face2malnyun/gif_1.gif" width="320"> <img src="./imgs/face2malnyun/gif_2.gif" width="320">
<img src="./imgs/face2malnyun/gif_3.gif" width="320"> <img src="./imgs/face2malnyun/gif_4.gif" width="320">
<img src="./imgs/face2malnyun/gif_5.gif" width="320"> <img src="./imgs/face2malnyun/gif_6.gif" width="320">
<img src="./imgs/face2malnyun/gif_7.gif" width="320"> <img src="./imgs/face2malnyun/gif_8.gif" width="320">
<img src="./imgs/face2malnyun/gif_9.gif" width="320"> <img src="./imgs/face2malnyun/gif_10.gif" width="320">
Failures
<img src="./imgs/face2malnyun/fail_1.png" width="320"> <img src="./imgs/face2malnyun/fail_2.png" width="320">
Face2Simpsons [FFHQ, Simpsons]
<img src="./imgs/face2simpsons/1.png" width="320"> <img src="./imgs/face2simpsons/2.png" width="320">
<img src="./imgs/face2simpsons/3.png" width="320"> <img src="./imgs/face2simpsons/4.png" width="320">
<img src="./imgs/face2simpsons/5.png" width="320"> <img src="./imgs/face2simpsons/6.png" width="320">
<img src="./imgs/face2simpsons/7.png" width="320"> <img src="./imgs/face2simpsons/8.png" width="320">
<img src="./imgs/face2simpsons/9.png" width="320"> <img src="./imgs/face2simpsons/10.png" width="320">
<img src="./imgs/face2simpsons/11.png" width="320"> <img src="./imgs/face2simpsons/12.png" width="320">
<img src="./imgs/face2simpsons/13.png" width="320"> <img src="./imgs/face2simpsons/14.png" width="320">
<img src="./imgs/face2simpsons/15.png" width="320"> <img src="./imgs/face2simpsons/16.png" width="320">
<img src="./imgs/face2simpsons/17.png" width="320"> <img src="./imgs/face2simpsons/18.png" width="320">
Interpolation
<img src="./imgs/face2simpsons/gif_1.gif" width="320"> <img src="./imgs/face2simpsons/gif_2.gif" width="320">
<img src="./imgs/face2simpsons/gif_3.gif" width="320"> <img src="./imgs/face2simpsons/gif_4.gif" width="320">
Failures
<img src="./imgs/face2simpsons/fail_1.png" width="320"> <img src="./imgs/face2simpsons/fail_2.png" width="320">
<img src="./imgs/face2simpsons/fail_3.png" width="320"> <img src="./imgs/face2simpsons/fail_4.png" width="320">
<img src="./imgs/face2simpsons/fail_5.png" width="320"> <img src="./imgs/face2simpsons/fail_6.png" width="320">
<img src="./imgs/face2simpsons/fail_7.png" width="320"> <img src="./imgs/face2simpsons/fail_8.png" width="320">
Face2Dog [FFHQ, AFHQ]
<img src="./imgs/face2dog/1.png" width="320"> <img src="./imgs/face2dog/2.png" width="320">
<img src="./imgs/face2dog/3.png" width="320"> <img src="./imgs/face2dog/4.png" width="320">
<img src="./imgs/face2dog/5.png" width="320"> <img src="./imgs/face2dog/6.png" width="320">
<img src="./imgs/face2dog/7.png" width="320"> <img src="./imgs/face2dog/8.png" width="320">
<img src="./imgs/face2dog/9.png" width="320"> <img src="./imgs/face2dog/10.png" width="320">
<img src="./imgs/face2dog/11.png" width="320"> <img src="./imgs/face2dog/12.png" width="320">
<img src="./imgs/face2dog/13.png" width="320"> <img src="./imgs/face2dog/14.png" width="320">
<img src="./imgs/face2dog/15.png" width="320"> <img src="./imgs/face2dog/16.png" width="320">
<img src="./imgs/face2dog/17.png" width="320"> <img src="./imgs/face2dog/18.png" width="320">
Interpolation
<img src="./imgs/face2dog/gif_1.gif" width="320"> <img src="./imgs/face2dog/gif_2.gif" width="320">
<img src="./imgs/face2dog/gif_3.gif" width="320"> <img src="./imgs/face2dog/gif_4.gif" width="320">
Failures
<img src="./imgs/face2dog/fail_1.png" width="320"> <img src="./imgs/face2dog/fail_2.png" width="320">
<img src="./imgs/face2dog/fail_3.png" width="320"> <img src="./imgs/face2dog/fail_4.png" width="320">
Face2Art [FFHQ, MetFaces]
<img src="./imgs/face2art/2.gif" width="320"> <img src="./imgs/face2art/3.gif" width="320">
<img src="./imgs/face2art/1.gif" width="650">
Cat2Flower [AFHQ, OxfordFlowers]
<img src="./imgs/cat2flower/1.gif" width="320"> <img src="./imgs/cat2flower/2.gif" width="320">
Related Skills
qqbot-channel
349.7kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
100.4k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
349.7kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Design
Campus Second-Hand Trading Platform \- General Design Document (v5.0 \- React Architecture \- Complete Final Version)1\. System Overall Design 1.1. Project Overview This project aims t
