-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change backbone #86
Comments
from typing import Any, Callable, Dict, List, Mapping, Optional, Tuple, Union import torch from models.model_config import MODEL_SPECS def make_divisible(
def conv_2d(inp, oup, kernel_size=3, stride=1, groups=1, bias=False, norm=True, act=True): class InvertedResidual(nn.Module):
class UniversalInvertedBottleneckBlock(nn.Module):
class MultiQueryAttentionLayerWithDownSampling(nn.Module):
class MNV4LayerScale(nn.Module):
class MultiHeadSelfAttentionBlock(nn.Module):
def build_blocks(layer_spec): class MobileNetV4(nn.Module):
if name == 'main':
|
How can I modify the backbone using MobileNet?
The text was updated successfully, but these errors were encountered: