일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- ConMatch
- 컴퓨터구조
- tent paper
- 최린컴퓨터구조
- 딥러닝손실함수
- Meta Pseudo Labels
- adamatch paper
- SSL
- GAN
- cifar100-c
- Pseudo Label
- CycleGAN
- semi supervised learnin 가정
- WGAN
- mme paper
- Entropy Minimization
- CoMatch
- Pix2Pix
- CGAN
- remixmatch paper
- dcgan
- UnderstandingDeepLearning
- dann paper
- simclrv2
- shrinkmatch
- mocov3
- BYOL
- conjugate pseudo label paper
- 백준 알고리즘
- shrinkmatch paper
Archives
- Today
- Total
목록einops (1)
Hello Computer Vision
einops rearrange 공부해보기
이번에 ViT를 공부하는 와중에 텐서를 조금 더 내 자유자재로 만들 수 있는 라이브러리를 발견했다 그건 바로 einops! terminal 에 pip install einops 하면은 금방 설치할 수 있다. 한번 코드 예시를 통해 알아보겠다. 매우 직관적이므로 쉽게 알 수 있다. from einops import rearrange import torch.nn as nn import torch img = torch.rand(8, 224, 224, 3) print(img.shape) print(rearrange(img, 'b h w c -> b c h w').shape) print(rearrange(img, 'b h w c -> (b c) h w').shape) print(rearrange(img, 'b h..
딥러닝
2023. 2. 10. 13:41