#error "C++ versions less than C++11 are not supported." I encountered the same error. A nasty workaround was to add flags --std=c++11 and -DNDEBUG to Read More
posted @ 2020-01-07 17:29 rainsoul Views(2300) Comments(0) Diggs(0) Edit
https://www.zhihu.com/question/68730628/answer/277339783 Batch Normalization是指6张图片中的每一张图片的同一个通道一起进行Normalization操作。而Instance Normalization是指单张图片的单个通道单 Read More
posted @ 2019-12-27 21:23 rainsoul Views(942) Comments(0) Diggs(0) Edit
转载: https://blog.csdn.net/TeFuirnever/article/details/90760179 最近在运行代码的时候出现了这个错误——AttributeError: module 'scipy.misc' has no attribute 'imread'。查阅网上资料 Read More
posted @ 2019-12-26 15:48 rainsoul Views(16714) Comments(1) Diggs(1) Edit
conda创建虚拟环境: conda create -n stylegan pip python=3.6 激活虚拟环境 source activate 安装tensorflow conda install tensorflow-gpu==1.12.0 安装keras 安装jupyter 启动jupy Read More
posted @ 2019-12-26 12:22 rainsoul Views(800) Comments(0) Diggs(0) Edit
pytorch在训练中使用多卡: 然后在训练的命令行需要指定GPU: 在pytorch内部,conf.device_ids依旧是从0开始的; 训练的时候报错: 是由于batchnorm层需要大于一个样本去计算其中的参数,网上搜索了解决方法是将dataloader的一个丢弃参数设置为true: 但是我 Read More
posted @ 2019-11-01 19:47 rainsoul Views(7460) Comments(2) Diggs(0) Edit
转载自:https://blog.csdn.net/dss_dssssd/article/details/83892824 版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。本文链接:https://blog.csdn.net/dss_dssss Read More
posted @ 2019-08-19 14:57 rainsoul Views(5817) Comments(0) Diggs(0) Edit
转自:https://blog.csdn.net/dss_dssssd/article/details/82977170 https://blog.csdn.net/dss_dssssd/article/details/82980222 https://blog.csdn.net/dss_dssss Read More
posted @ 2019-08-19 11:35 rainsoul Views(2846) Comments(0) Diggs(0) Edit
转载自:https://zhuanlan.zhihu.com/p/34222060 通过作者在专栏里面放的几张响应图我们可以看到:SiamFC并不能区分不同的物体,图片上所有具有语义信息的物体都会得到较大的响应; 但是它在数据集上的表现确实是不错的,那么为什么呢,是因为加了窗函数,将周边的物体抑制掉 Read More
posted @ 2019-08-16 16:16 rainsoul Views(313) Comments(0) Diggs(0) Edit
转自:https://zhuanlan.zhihu.com/p/33194385 Read More
posted @ 2019-08-15 14:54 rainsoul Views(152) Comments(0) Diggs(0) Edit
转载自: https://www.cnblogs.com/qinduanyinghua/p/9311410.html 假设网络为model = Net(), optimizer = optim.Adam(model.parameters(), lr=args.lr), 假设在某个epoch,我们要保 Read More
posted @ 2019-08-07 11:32 rainsoul Views(8842) Comments(0) Diggs(0) Edit