mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Update metaformers.py
This commit is contained in:
parent
1f3a661160
commit
d17bcb10a5
@ -21,7 +21,7 @@ from functools import partial
|
|||||||
import torch
|
import torch
|
||||||
import torch.nn as nn
|
import torch.nn as nn
|
||||||
from timm.layers import trunc_normal_, DropPath
|
from timm.layers import trunc_normal_, DropPath
|
||||||
from timm.models.registry import register_model
|
from ._registry import register_model
|
||||||
from timm.data import IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD
|
from timm.data import IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD
|
||||||
from timm.layers.helpers import to_2tuple
|
from timm.layers.helpers import to_2tuple
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user