Skip to content

Translate pgan document#12

Open
nninept wants to merge 2 commits into
PyTorchKorea:masterfrom
nninept:pgan-translation
Open

Translate pgan document#12
nninept wants to merge 2 commits into
PyTorchKorea:masterfrom
nninept:pgan-translation

Conversation

@nninept
Copy link
Copy Markdown

@nninept nninept commented Oct 17, 2021

๋ผ์ด์„ ์Šค ๋™์˜

๋ณ€๊ฒฝํ•ด์ฃผ์‹œ๋Š” ๋‚ด์šฉ์— BSD 3ํ•ญ ๋ผ์ด์„ ์Šค๊ฐ€ ์ ์šฉ๋จ์„ ๋™์˜ํ•ด์ฃผ์…”์•ผ ํ•ฉ๋‹ˆ๋‹ค.

๋™์˜ํ•˜์‹œ๋ฉด ์•„๋ž˜ [ ]๋ฅผ [x]๋กœ ๋งŒ๋“ค์–ด์ฃผ์„ธ์š”.

  • ๊ธฐ์—ฌํ•˜๊ธฐ ๋ฌธ์„œ๋ฅผ ํ™•์ธํ•˜์˜€์œผ๋ฉฐ, ๋ณธ PR ๋‚ด์šฉ์— BSD 3ํ•ญ ๋ผ์ด์„ ์Šค๊ฐ€ ์ ์šฉ๋จ์— ๋™์˜ํ•ฉ๋‹ˆ๋‹ค.

๊ด€๋ จ ์ด์Šˆ ๋ฒˆํ˜ธ

์ด Pull Request์™€ ๊ด€๋ จ์žˆ๋Š” ์ด์Šˆ ๋ฒˆํ˜ธ๋ฅผ ์ ์–ด์ฃผ์„ธ์š”.

์ด์Šˆ ๋˜๋Š” PR ๋ฒˆํ˜ธ ์•ž์— #์„ ๋ถ™์ด์‹œ๋ฉด ์ œ๋ชฉ์„ ๋ฐ”๋กœ ํ™•์ธํ•˜์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. (์˜ˆ. #999 )

PR ์ข…๋ฅ˜

์ด PR์— ํ•ด๋‹น๋˜๋Š” ์ข…๋ฅ˜ ์•ž์˜ [ ]์„ [x]๋กœ ๋ณ€๊ฒฝํ•ด์ฃผ์„ธ์š”.

  • ์˜คํƒˆ์ž๋ฅผ ์ˆ˜์ •ํ•˜๊ฑฐ๋‚˜ ๋ฒˆ์—ญ์„ ๊ฐœ์„ ํ•˜๋Š” ๊ธฐ์—ฌ
  • ๋ฒˆ์—ญ๋˜์ง€ ์•Š์€ ํŠœํ† ๋ฆฌ์–ผ์„ ๋ฒˆ์—ญํ•˜๋Š” ๊ธฐ์—ฌ
  • ๊ณต์‹ ํŠœํ† ๋ฆฌ์–ผ ๋‚ด์šฉ์„ ๋ฐ˜์˜ํ•˜๋Š” ๊ธฐ์—ฌ
  • ์œ„ ์ข…๋ฅ˜์— ํฌํ•จ๋˜์ง€ ์•Š๋Š” ๊ธฐ์—ฌ

PR ์„ค๋ช…

PGAN ๋ชจ๋ธ์˜ ๋ฌธ์„œ๋ฅผ ์ƒˆ๋กœ ๋ฒˆ์—ญํ–ˆ์Šต๋‹ˆ๋‹ค

Copy link
Copy Markdown
Member

@hyoyoung hyoyoung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ „๋ฐ˜์ ์œผ๋กœ ์ž˜๋˜์–ด์žˆ๊ณ  ๊ณ ์ƒํ•˜์…จ์Šต๋‹ˆ๋‹ค.
๋ช‡๊ฐ€์ง€ ์‚ฌํ•ญ ํ™•์ธ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค


# trained on high-quality celebrity faces "celebA" dataset
# this model outputs 512 x 512 pixel images
# ์œ ๋ช…์ธ๋“ค์˜ ๊ณ ํ•ด์ƒ๋„ ์–ผ๊ตด์‚ฌ์ง„๋“ค๋กœ ๋งŒ๋“  "celebA" ๋ฐ์ดํ„ฐ์…‹์œผ๋กœ ํ›ˆ๋ จ์‹œ์ผฐ์Šต๋‹ˆใ…
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋งˆ์ง€๋ง‰ ๊ธ€์ž ์˜คํƒ€ ์ˆ˜์ • ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค

The input to the model is a noise vector of shape `(N, 512)` where `N` is the number of images to be generated.
It can be constructed using the function `.buildNoiseData`.
The model has a `.test` function that takes in the noise vector and generates images.
๋ชจ๋ธ์˜ ์ž…๋ ฅ๊ฐ’์œผ๋กœ ๋“ค์–ด๊ฐ€๋Š” ๋…ธ์ด์ฆˆ(noise) ๋ฒกํ„ฐ๋Š” `(N, 512)` ํฌ๊ธฐ๋ฅผ ๊ฐ–๋Š”๋ฐ, ์ด๋•Œ `N` ์€ ์ƒ์„ฑํ•˜๊ณ ์‹ถ์€ ๋ฐ์ดํ„ฐ์˜ ์ˆ˜์ž…๋‹ˆ๋‹ค.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด๋•Œ N ์€ ์ƒ์„ฑํ•˜๊ณ ์‹ถ์€ ๋ฐ์ดํ„ฐ์˜ ์ˆ˜์ž…๋‹ˆ๋‹ค.
->
์ด๋•Œ N๊ฐœ์˜ ์ด๋ฏธ์ง€๊ฐ€ ์ƒ์„ฑ ๋ฉ๋‹ˆ๋‹ค

```

You should see an image similar to the one on the left.
๊ฒฐ๊ณผ๋ฅผ ํ™•์ธํ•ด๋ณด๋ฉด , ์˜ค๋ฅธ์ชฝ์˜ ์ด๋ฏธ์ง€์™€ ๋น„์Šทํ•œ ์‚ฌ์ง„์„ ํ™•์ธ ํ•  ์ˆ˜ ์žˆ์„๊ฒ๋‹ˆ๋‹ค
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์™ผ์ชฝ๊ณผ ๋น„์Šทํ•œ ์ด๋ฏธ์ง€๋ฅผ ๋ณผ์ˆ˜ ์žˆ๋‹ค๋Š” ๋œป์ผ๊นŒ์š”?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants