神经网络
BUAA_小胡
这个作者很懒,什么都没留下…
展开
-
vector对齐小工具
void save_vector(const std::vector<float> &datas,std::string name){ofstream myfile;myfile.open(name);for(auto data:datas){myfile<<data<<" ";}myfile.close();}void save_vector(const std::vector<int> &datas,st原创 2021-12-23 21:37:04 · 508 阅读 · 0 评论 -
paddle卷积BN合并
""""Fuse conv bn file."""import copyimport paddleimport paddle.nn as nndef find_parent_layer_and_sub_name(model, name): """Given the model and the name of a layer, find the parent layer and the sub_name of the layer. For example, if name...原创 2021-11-08 10:38:45 · 699 阅读 · 1 评论 -
mmdet编译出错AT_CHECK
编译mmdet遇到的问题,AT_CHECK找不到,改成TORCH_CHECK完成原创 2021-03-16 22:43:50 · 806 阅读 · 1 评论 -
docker注意事项
docker就是一个系统,使用docker配置环境比较方便1.拉镜像docker pull pytorch/pytorch:latest此处建议使用阿里云加速https://yq.aliyun.com/articles/299412.查看本地有的镜像docker images3.查看本地运行的dockerdocker ps4.运行一个镜像docker run...原创 2020-04-29 17:30:44 · 186 阅读 · 0 评论 -
对于loss持续不降,DEBUG
神经网络具有两大能力:一、学习能力,指在训练集上精度。二、泛化能力,指在测试集上精度。对于一个大型神经网络在一个大数据集上跑,LOSS持续不降,第一步先减小数据量,比方说只在单张图片上跑,使用小epochsize,观察每次LOSS下降情况,此时如果LOSS还是不下降说明网络没有学习能力,应该调整模型,一般是先把网络规模缩小,因为任何一个网络都会有学习能力,然而此时你的网络没有学习能力,则一定是你的...原创 2018-06-05 09:18:48 · 13538 阅读 · 0 评论