일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- computervision
- 사무자동화 #Selenium
- yolo
- Google API
- processstart
- 파이썬 #업무자동화 #python
- YOLOv5
- DeepLearning
- ironpython
- pyautogui
- Text-to-Speech
- objectdetection
- pdf merge
- 업무자동화
- Text To Speech
- pythonnet
- pypdf2
- YOLOv7
- 사무자동화
- google cloud
- Today
- Total
Doarchive
DC-GAN(Deep Convolutional Generative Adversarial Network) 본문
DC-GAN(Deep Convolutional Generative Adversarial Network)
오순발닦개 2023. 4. 14. 14:04DC-GAN은 GAN의 구조에 CNN(Convolutional Neural Network)을 추가하여 이미지 생성을 안정적으로 할수 있는 모델
convolutional, batch normalization, leakyReLU 등의 레이어를 가지고 있음
Generator와 Discriminator 두 개의 네트워크로 이루어져 있으며,
Generator는 무작위 노이즈 벡터를 입력으로 받아 실제와 같은 이미지를 생성하고,
Discriminator는 생성된 이미지와 실제 이미지를 입력으로 받아 이 둘을 구분
DC-GAN의 학습 방법
1.데이터셋 준비
Generator와 Discriminator 네트워크 구성
Generator와 Discriminator 모두 CNN으로 구성.
2.손실 함수 정의:
Generator의 손실 함수는 Discriminator가 생성된 이미지를 실제 이미지로 오인하도록 만드는 것이며, Discriminator의 손실 함수는 생성된 이미지와 실제 이미지를 구분할 수 있도록 하는 것
3.학습
Generator와 Discriminator를 번갈아 가며 학습 하며, 학습 Discriminator를 먼저 학습한 후, Generator를 학습
이때, Discriminator는 생성된 이미지와 실제 이미지를 구분하는 데에 성공하도록 하고, Generator는 생성된 이미지가 실제 이미지와 유사해지도록 함
4.평가
학습이 완료되면, 생성된 이미지가 실제 이미지와 유사하고 다양한 이미지를 생성할 수 있는지를 확인합니다. 샘플링: Generator가 생성한 이미지를 샘플링하여 이미지 생성 결과를 확인합니다
논문
https://arxiv.org/abs/1511.06434
Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks
In recent years, supervised learning with convolutional networks (CNNs) has seen huge adoption in computer vision applications. Comparatively, unsupervised learning with CNNs has received less attention. In this work we hope to help bridge the gap between
arxiv.org
텐서플로
https://www.tensorflow.org/tutorials/generative/dcgan?hl=ko
심층 합성곱 생성적 적대 신경망 | TensorFlow Core
날짜를 저장하십시오! TensorFlow가 5월 10일 Google I/O에서 돌아왔습니다. 지금 등록하세요. 심층 합성곱 생성적 적대 신경망 컬렉션을 사용해 정리하기 내 환경설정을 기준으로 콘텐츠를 저장하고
www.tensorflow.org
파이토치
https://github.com/pytorch/examples/tree/main/dcgan
GitHub - pytorch/examples: A set of examples around pytorch in Vision, Text, Reinforcement Learning, etc.
A set of examples around pytorch in Vision, Text, Reinforcement Learning, etc. - GitHub - pytorch/examples: A set of examples around pytorch in Vision, Text, Reinforcement Learning, etc.
github.com
'Computer Vision > Deep learning' 카테고리의 다른 글
오토인코더(Auto Encoder) (1) | 2023.04.19 |
---|---|
Faster R-CNN (0) | 2023.04.18 |
GAN 모델의 종류 DCGAN , LSGAN , Conditional GAN (0) | 2023.04.13 |
YOLOv7 사용 방법 (0) | 2023.04.05 |
YOLOv7 Error : subprocess.CalledProcessError: Command 'git tag' returned non-zero exit status 128. (0) | 2023.04.05 |