- 博客(8)
- 收藏
- 关注
原创 跑代码中遇到的错误,记录一下
1.The shape of the mask [111330] at index 0does not match the shape of the indexed tensor [104652, 80] at index 0解决方案:nn.Conv2d(self.out_c, self.out_c, kernel_size=3, stride=1, groups=groups, bias=False),改为(加上padding,应该是大小不匹配的原因)nn.Conv2d(self.o
2022-01-06 10:17:52
2063
原创 李沐-《动手学深度学习》资料
1.书籍及讲课视频书籍:http://zh.gluon.ai/视频:https://courses.d2l.ai/zh-v2/视频的课程安排中,这四部分分别代表书上对应的内容、PPT、对应代码、视频链接2.更新中
2021-06-28 22:06:49
1025
原创 计算机图形学作业-附源码
文章目录计算机图形学作业一、画线,画圆,画椭圆1.中点法,DDA法,Bresenham法画线2.中点法,Bresenham法画圆3.中点法画椭圆二、绘制多边形及填充多边形(内点表示递归填充)1.绘制多边形,当某个点与第一个点半径小于等于50时自动闭合2.填充多边形三、绘制3D茶壶、圆环、正方体以及实现光照效果1.绘制3D茶壶、圆环、正方体2.实现光照3.实现旋转总结计算机图形学作业计算机图形学作业实现了以下三个功能:画线,画圆,画椭圆(1)中点法,DDA法,Bresenham法画线(2)中点法
2021-06-24 10:23:24
6969
2
原创 FCOS搭建环境bug
FCOS的坑实在太多了,踩了一个又一个,记录下吧,以免又忘了1.AttributeError: module 'torch._six' has no attribute 'PY3'解决:这个文件/FCOS/FCOS/fcos_core/utils/imports.pyif torch._six.PY3:改为if torch._six.PY37:2.no module named 'fcos_core'解决:在train.py或test.py(哪个文件运行出错了就修改哪个)最上面加上
2021-03-12 21:04:00
3003
13
原创 FLOPs,FLOPS,FPS
FLOPS:floating point operations per second,每秒浮点数运算,即“吞吐量”,衡量速度,一般与硬件相关。越大越好。FLOPs:floating point operations,浮点数运算,指计算量,越小越好。FPS:frams per second,每秒处理帧数,评价执行速度,越大越好。...
2020-12-24 15:38:59
13081
原创 RuntimeError: Integer division of tensors using div or / is no longer supported, and in a future rel
原因:torch1.6.0版本不支持 / 写法https://blog.youkuaiyun.com/qq_42255269/article/details/108287499
2020-11-03 17:11:59
168
原创 python编程快速上手 第七章实践项目答案 欢迎交流
python编程快速上手 第七章实践项目答案 欢迎交流import redef check(): while True: print('Please input key') x = input() pw1 = re.compile(r'[a-z]+') pw2 = re.compile(r'[A-Z]+') pw3 = re.compile(r'[0-9]+') if pw1.search.
2020-08-15 12:23:08
268
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人