본문 바로가기

코드 리뷰

(8)
CompVis/stable-diffusion/main.py 그냥 공부용 정리 import importlib from omegaconf import OmegaConf Json, yaml 등 각종 설정 파일 읽기 및 생성, 변경 작업 지원 from pytorch_lightning import seed_everything from ldm.data.base import Txt2ImgIterableBaseDataset 미리 정의해 둔 데이터셋 형식 class Txt2ImgIterableBaseDataset(IterableDataset): ''' Define an interface to make the IterableDatasets for text2img data chainable ''' def __init__(self, num_records=0, valid_ids=Non..
DiffStyler 코드 리뷰 DiffStyler 논문 리뷰, DiffStyler 써보기 Github/DiffStyler GitHub - haha-lisa/Diffstyler: DiffStyler: Controllable Dual Diffusion for Text-Driven Image Stylization DiffStyler: Controllable Dual Diffusion for Text-Driven Image Stylization - GitHub - haha-lisa/Diffstyler: DiffStyler: Controllable Dual Diffusion for Text-Driven Image Stylization github.com 들어가기 전에 main.py 코드가 완전 현대적인? 함수형 프로그래밍이 아니라 함수 내부에..
Paint by Example 코드 리뷰 Paint by Example 논문 리뷰, Paint by Example 써보기 Github GitHub - Fantasy-Studio/Paint-by-Example: Paint by Example: Exemplar-based Image Editing with Diffusion Models Paint by Example: Exemplar-based Image Editing with Diffusion Models - GitHub - Fantasy-Studio/Paint-by-Example: Paint by Example: Exemplar-based Image Editing with Diffusion Models github.com 마스크 이미지를 U-Net에 전달하기 위해 기존 모델에 추가 채널을 받는 것..
DAAM 코드 리뷰 DAAM 논문 리뷰, DAAM 써보기 DAAM Github의 사용 설명서 : 위 코드들이 어떻게 작동하는지 알아보자. DAAM package index에서 DAAM library의 해당 명령어가 github의 어떤 코드를 가리키는지 알 수 있다. 먼저 set_seed : 각 library의 시드를 고정하고 시드 고정된 torch.Generator 객체 반환 def set_seed(seed: int) -> torch.Generator: random.seed(seed) np.random.seed(seed) torch.manual_seed(seed) torch.cuda.manual_seed_all(seed) gen = torch.Generator(device=auto_device()) gen.manual_se..
Latent Diffusion Code GitHub - CompVis/latent-diffusion: High-Resolution Image Synthesis with Latent Diffusion Models High-Resolution Image Synthesis with Latent Diffusion Models - GitHub - CompVis/latent-diffusion: High-Resolution Image Synthesis with Latent Diffusion Models github.com 논문 리뷰 High-Resolution Image Synthesis with Latent Diffusion Models (LDM) Diffusion Model + Autoencoder + Cross Attention Github..
Classifier-Guidance Diffusion 논문 리뷰 Diffusion Models Beat GANs on Image Synthesis 논문 리뷰 Diffusion 모델 성능 개선, 분류기 가이드 도입 Github GitHub - openai/guided-diffusion Contribute to openai/guided-diffusion development by creating an account on GitHub. github.com Arxiv Diffusion Mo.. ostin.tistory.com 코드 GitHub - openai/guided-diffusion Contribute to openai/guided-diffusion development by creating an account on GitHub. github.com Clas..
Improved DDPM 논문 리뷰 Improved Denoising Diffusion Probabilistic Models : Improved DDPM DDPM을 개선시킨 논문을 발견하게 되어 공부하게 되었습니다. DDPM에 대해 한층 더 잘 알게된 경험이었어서 꼭 한번쯤 읽어보시는걸 추천드립니다 :) Introduction 본 논문에서 제시하는 바는 3가지 입 deepseow.tistory.com Code Source https://github.com/lucidrains/denoising-diffusion-pytorch GitHub - lucidrains/denoising-diffusion-pytorch: Implementation of Denoising Diffusion Probabilistic Model in Pytorc..
Denoising Diffusion Pytorch https://github.com/lucidrains/denoising-diffusion-pytorch GitHub - lucidrains/denoising-diffusion-pytorch: Implementation of Denoising Diffusion Probabilistic Model in Pytorch Implementation of Denoising Diffusion Probabilistic Model in Pytorch - GitHub - lucidrains/denoising-diffusion-pytorch: Implementation of Denoising Diffusion Probabilistic Model in Pytorch github.com https://huggingface.co..