摘要: 目标检测回归loss汇总 https://zhuanlan.zhihu.com/p/104236411 阅读全文
posted @ 2021-12-01 10:46 谷阿幻 阅读(95) 评论(0) 推荐(0) 编辑
摘要: pip install line_profiler def profile(func): from functools import wraps @wraps(func) def wrapper(*args, **kwargs): from line_profiler import LineProf 阅读全文
posted @ 2021-08-04 10:32 谷阿幻 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/a8039974/article/details/77592395 https://blog.csdn.net/ytusdc/article/details/86577939 结构: SSD以vgg16为基网络,SSD采用了特征金字塔的结构进行检测, 阅读全文
posted @ 2021-05-13 14:29 谷阿幻 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 转自 https://www.cnblogs.com/yanshw/p/12563872.html 深度可分离卷积很详细的解释:https://zhuanlan.zhihu.com/p/92134485 https://blog.csdn.net/flyfish1986/article/detail 阅读全文
posted @ 2021-05-10 18:29 谷阿幻 阅读(837) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/yanshw/p/10576354.html 深度残差网络resnet 解决问题 深度网络的退化问题:深度网络难以训练,梯度消失,梯度爆炸,老生常谈,不多说 resnet 解决了这个问题,并且将网络深度扩展到了最多152层。怎么解决的呢? 残差学 阅读全文
posted @ 2021-05-10 17:24 谷阿幻 阅读(974) 评论(0) 推荐(0) 编辑
摘要: 训练完train_datasets之后,model要来测试样本了。在model(test_datasets)之前,需要加上model.eval(). 否则的话,有输入数据,即使不训练,它也会改变权值。这是model中含有batch normalization层所带来的的性质。在做one classi 阅读全文
posted @ 2020-07-22 17:25 谷阿幻 阅读(1434) 评论(0) 推荐(0) 编辑
摘要: 数字取整 >>> import numpy >>> print(numpy.ceil(1.7)) 2.0 >>> print(numpy.floor(1.7)) 1.0 >>> print(int(1.7)) 1 >>> 阅读全文
posted @ 2020-07-08 22:27 谷阿幻 阅读(129) 评论(0) 推荐(0) 编辑
摘要: jupyter无法下载文件夹,在要下载的文件夹下新建一个notebook。 复制如下代码: #jupyter下载文件夹 import os import tarfile def recursive_files(dir_name='.', ignore=None): for dir_name,subd 阅读全文
posted @ 2020-07-08 22:00 谷阿幻 阅读(617) 评论(0) 推荐(0) 编辑
摘要: 解决:安装xcode-select # xcode-select --install 原文链接:https://blog.csdn.net/lanyang123456/article/details/84142637 阅读全文
posted @ 2020-07-08 21:55 谷阿幻 阅读(582) 评论(0) 推荐(0) 编辑
摘要: PIL.Image转换成OpenCV格式 import cv2 from PIL import Image import numpy image = Image.open("plane.jpg") image.show() img = cv2.cvtColor(numpy.asarray(image 阅读全文
posted @ 2020-07-08 21:54 谷阿幻 阅读(1603) 评论(0) 推荐(0) 编辑