목록AI 일반 (25)
토니의 연습장

# For nn.Conv2d: (reduce the size of the image for prediction : Discriminator)output_size = (n + 2 * pad - ks) // stride + 1 # For nn.ConvTranspose2d: (grow from a value to full image for generation : Generator)output_size = (n - 1) * stride - 2 * padding + ks
AI 일반/모델, 아키텍처, 구현
2024. 9. 19. 14:47

[ 참고 ] helper_functions.py"""A series of helper functions used throughout the course.If a function gets defined once and could be used over and over, it'll go in here."""import torchimport matplotlib.pyplot as pltimport numpy as npfrom torch import nnimport osimport zipfilefrom pathlib import Pathimport requests# Walk through an image classification directory and find out how many files (images)..
AI 일반/논문, 구현
2024. 8. 28. 14:57