Recent Posts
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- FineGrained
- computervision
- CV
- 딥러닝
- Depth estimation
- web
- 머신러닝
- 알고리즘
- Python
- Torch
- 자료구조
- REACT
- algorithm
- pytorch
- Vision
- ML
- PRML
- 3d
- FGVC
- cs
- nerf
- dl
- Meta Learning
- math
- classification
- Front
- GAN
- clean code
- SSL
- nlp
- Today
- Total
목록Patchshuffle (1)
KalelPark's LAB

Load Library import torch import timm import numpy as np from einops import repeat, rearrange from einops.layers.torch import Rearrange from timm.models.layers import trunc_normal_ from timm.models.vision_transformer import Block Patch shuffle을 하기 위한 Class 및 function 구축 * forward_indexes : (16, 2) * backward_indexes : (16, 2) 이후, take_indexes를 거칠 때, gather는 각 차원의 vector를 0을 axis로 사용하므로, depth, c..
Data Science/CODE
2023. 3. 16. 19:44