-
Notifications
You must be signed in to change notification settings - Fork 17
[개인과제2] DCGAN 번역 연습 #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,9 +24,9 @@ use_gpu = True if torch.cuda.is_available() else False | |
model = torch.hub.load('facebookresearch/pytorch_GAN_zoo:hub', 'DCGAN', pretrained=True, useGPU=use_gpu) | ||
``` | ||
|
||
The input to the model is a noise vector of shape `(N, 120)` 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. | ||
모델에 입력하는 노이즈 벡터의 크기는 `(N, 120)` 이며 여기서 `N`은 생성하고자 하는 이미지의 개수입니다. | ||
데이터 생성은 `.buildNoiseData` 함수를 사용하여 구성될 수 있습니다. | ||
모델의 `.test` 함수를 사용하면 노이즈 벡터를 입력받아 이미지를 생성합니다. | ||
|
||
```python | ||
num_images = 64 | ||
|
@@ -41,9 +41,9 @@ plt.imshow(torchvision.utils.make_grid(generated_images).permute(1, 2, 0).cpu(). | |
# plt.show() | ||
``` | ||
|
||
You should see an image similar to the one on the left. | ||
왼쪽에 있는것과 유사한 이미지를 살펴볼 수 있습니다. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. '왼 쪽에 있는 이미지와 유사하다는 것을 알 수 있습니다. '는 어떨까용?? |
||
|
||
If you want to train your own DCGAN and other GANs from scratch, have a look at [PyTorch GAN Zoo](https://github.com/facebookresearch/pytorch_GAN_zoo). | ||
만약 본 예제의 GANs과 다른 본인만의 DCGAN을 학습시키고 싶다면, 이곳을 살펴보세요 [PyTorch GAN Zoo](https://github.com/facebookresearch/pytorch_GAN_zoo). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. GANs -> 'GAN들' 로 번역하는것은 어떨까요? 다른 GAN들이나 DCGAN을 처음부터 학습시키고 싶다면...? 정도로 번역하는 것은 어떨지 조심스럽게 제안드려봅니다 :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 오 좋은거 같습니다. 저도 관련되서 자료를 찾아 보았습니다. 해당 규칙은 멘토 님들 한테도 문의해서 표준을 만들면 좋을 거 같습니다. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 넵 ㅎㅎ GANs 에서 s 만 제거되어도 좋을 것 같습니다 :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [수정]
확인해주셔서 감사합니다..! |
||
|
||
### Model Description | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
buildNoiseData()
함수를 사용하여 데이터를 생성할 수(구성할 수) 있습니다.정도의 능동형으로 바꾸면 어떨까요?