当前位置: 首页 > news >正文

河西做网站公司公司域名查询官网

河西做网站公司,公司域名查询官网,苏州企业网站建设公司价格,嵌入式软件开发要求文章目录 流程问题请你写出项目中用到的模型代码,Resnet50(1)网络退化现象:把网络加深之后,效果反而变差了(2)过拟合现象:训练集表现很棒,测试集很差 把你做的工作里面的…

文章目录

  • 流程
  • 问题
    • 请你写出项目中用到的模型代码,Resnet50
      • (1)网络退化现象:把网络加深之后,效果反而变差了
      • (2)过拟合现象:训练集表现很棒,测试集很差
    • 把你做的工作里面的模型替换成ViT能行吗?
    • 有了解过Stable difussion,transformer吗?
  • 总结

流程

  • 自我介绍
  • 介绍项目
  • 介绍论文
  • 写代码

问题

请你写出项目中用到的模型代码,Resnet50

面试官:写出一个单元就好了。
实际面试过程中写出伪代码就好,
源代码:vision/torchvision/models/resnet.py

class BasicBlock(nn.Module):expansion: int = 1def __init__(self,inplanes: int,planes: int,stride: int = 1,downsample: Optional[nn.Module] = None,groups: int = 1,base_width: int = 64,dilation: int = 1,norm_layer: Optional[Callable[..., nn.Module]] = None,) -> None:super().__init__()if norm_layer is None:norm_layer = nn.BatchNorm2dif groups != 1 or base_width != 64:raise ValueError("BasicBlock only supports groups=1 and base_width=64")if dilation > 1:raise NotImplementedError("Dilation > 1 not supported in BasicBlock")# Both self.conv1 and self.downsample layers downsample the input when stride != 1self.conv1 = conv3x3(inplanes, planes, stride)self.bn1 = norm_layer(planes)self.relu = nn.ReLU(inplace=True)self.conv2 = conv3x3(planes, planes)self.bn2 = norm_layer(planes)self.downsample = downsampleself.stride = stridedef forward(self, x: Tensor) -> Tensor:identity = xout = self.conv1(x)out = self.bn1(out)out = self.relu(out)out = self.conv2(out)out = self.bn2(out)if self.downsample is not None:identity = self.downsample(x)out += identityout = self.relu(out)return out

里面的精华部分如下,我跳着写:

def __init__():self.conv1 = conv3x3(inplanes, planes, stride)self.bn1 = norm_layer(planes)self.relu = nn.ReLU(inplace = True)self.conv2 = conv3x3(planes, planes)self.bn2 = norm_layer(planes)self.downsample = downsampleself.stride = stridedef forward(self, x: Tensor) -> Tensor:identity = xout = self.conv1(x)out = self.bn1(out)out = self.relu(out)out = self.conv2(out)out = self.bn2(out)if self.downsample is not None:identity = self.downsample(x)out += identityout = self.relu(out)return out

在面试官的提示下我写了大概这样的伪代码:

def forward(x):identity = xout = conv2d(x)out = batchnorm(out)out = relu(out)out = conv2d(x)out = batchnorm(out)out += identityout = relu(out)return out

面试结果还没出,不保证我这样写是正确的!

进一步了解Resnet50,来自B站的同济子豪兄【精读AI论文】ResNet深度残差网络

  • 有几种不好的现象:

(1)网络退化现象:把网络加深之后,效果反而变差了

用人话说明:一个孩子报名了课外辅导班,结果不仅作业写得更差了,考试也更差了;(学多了反而导致结果更糟糕)

(2)过拟合现象:训练集表现很棒,测试集很差

用人话说明:一个孩子作业做的很棒,一上考场就发挥失常;

把你做的工作里面的模型替换成ViT能行吗?

有了解过Stable difussion,transformer吗?

有一点点
【渣渣讲课】试图做一个正常讲解Latent / Stable Diffusion的成年人

总结

一面会重点针对简历上写的论文和项目,以及考察一些和岗位相关的前沿知识,坐在实验室是绝对绝对感受不到这些的!要勇敢踏出第一步;


间隔2天,官网显示流程终止 ╥﹏╥…

http://www.ds6.com.cn/news/2010.html

相关文章:

  • 做网站开发appseo链接优化建议
  • 合肥网站建设套餐百度网站ip地址
  • 双语网站模板橙子建站
  • 公司网站模板 网盘下载怎么联系百度人工服务
  • 做一个交易网站要花多少钱怎么推广网页
  • 海贼王路飞和女帝做的网站黑帽seo是什么
  • wordpress支持视频播放googleseo排名公司
  • 湛江高端网站建设百度网盘官方
  • 网站建设公司的重要性营业推广策略
  • wordpress多站点测试网络推广公司主要做什么
  • 角门网站建设代运营竞价公司
  • 上海市场监督管理局网站谷歌浏览器官方正版下载
  • 网络品牌推广是什么意思企业seo排名哪家好
  • 做网站好赚钱制作自己的网页
  • 四川酒店网站建设seo网站搭建是什么
  • 网站建设公司前景百度指数怎么看
  • 东莞搜索优化重庆seo整站优化报价
  • 有个人做网站的最新舆情信息网
  • 网站建设之织梦后台熊掌号主页指数函数图像及性质
  • 网站如何做关键字收录搜索引擎营销特点
  • 专门做市场调查的网站如何建造自己的网站
  • 传奇游戏在线玩合肥seo排名收费
  • 专门做岛屿的网站网店运营培训
  • 建设类建设机械证官方网站专业网络推广公司
  • 公司网站开发设计网站转让出售
  • 做响应式网站哪家公司好百度seo
  • 化妆品商城网站建设策划方案百度推广哪种效果好
  • 西安高端网站建设首选企业seo如何优化
  • 个人摄影网站制作今日特大新闻
  • 团队网站怎么做怎么在百度上注册店铺