Skip to content

Source & Target Image Shift #14

@lunaB

Description

@lunaB

Image Shift

interpolation을 향상시키기위해서 source image와 target image를 같은 거리만큼 normal random으로 shift 시켜보았다.

이론적 효과

source / target image를 같이움직이며 학습시키면 ,
같은 글자 같은 위치임으로 같은 z벡터를 만들게 하는게 자연스럽고,
decoder에 들어갈 encoder의 output에 위치에 대한 내용도 간접적으로 들어갈 수 있다.
그럼으로 거리가 있는 폰트들에게 있어서 interpolation을 할 수 있는 잠재공간이 자연스럽게 형성되는 효과를 볼 수 있을것으로 기대된다.

Shift normal delta x,y

dx = int(np.random.normal(0,8))
dy = int(np.random.normal(0,8))

Parameter

l1 = 500
mse = 1000
epoch = 200
batchsize = 16
lr = 0.0001

font 2개, 영문 대소문자

Raw

200 epoch

anim3 (4)

anim4 (3)

180 epoch

anim4 (5)
(폰트의 크기차이가 많이나면 이처럼 잘 안된다.)
anim4 (6)

150 epoch

anim4

anim4 (4)

120 epoch

anim4 (1)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions