| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- mme paper
- conjugate pseudo label paper
- 백준 알고리즘
- ConMatch
- 최린컴퓨터구조
- UnderstandingDeepLearning
- SSL
- CoMatch
- mocov3
- 컴퓨터구조
- Entropy Minimization
- semi supervised learnin 가정
- 딥러닝손실함수
- dcgan
- tent paper
- simclrv2
- CycleGAN
- Meta Pseudo Labels
- dann paper
- BYOL
- GAN
- remixmatch paper
- WGAN
- CGAN
- shrinkmatch
- Pseudo Label
- Pix2Pix
- adamatch paper
- shrinkmatch paper
- cifar100-c
Archives
- Today
- Total
목록einops (1)
Hello Data
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