随笔分类 -  深度学习

摘要:[转载注明来源:https://www.cnblogs.com/wioponsen/p/16499442.html](https://www.cnblogs.com/wioponsen/p/16499442.html) ### 0 要求 系统更新到2004以上, 我这里用的 21H2 cpu虚拟化启 阅读全文
posted @ 2022-07-20 18:44 wioponsen 阅读(593) 评论(0) 推荐(0) 编辑
摘要:ref: https://cloud.tencent.com/developer/article/1800935 feature 形状为 [b,c,h,w] BN 在 [b, h, w] 上做归一化 LN 在 [c, h, w] 上做归一化 IN 在 [h, w] 上做归一化 GN 将 c 分 gr 阅读全文
posted @ 2022-06-10 09:48 wioponsen 阅读(331) 评论(0) 推荐(0) 编辑
摘要:2020年的这篇文章思路感觉是更有效的: Learning with Privileged Information for Efficient Image Super-Resolution (ECCV 2020) https://cvlab.yonsei.ac.kr/projects/PISR/ 第 阅读全文
posted @ 2022-03-09 11:24 wioponsen 阅读(106) 评论(0) 推荐(0) 编辑
摘要:ref: [1] https://www.codenong.com/12248132/ [2] https://vimsky.com/examples/detail/python-attribute-socket.SIO_KEEPALIVE_VALS.html def set_keep_alive( 阅读全文
posted @ 2021-12-01 13:33 wioponsen 阅读(1755) 评论(0) 推荐(1) 编辑
摘要:问题描述: Could not load dynamic library 'libcusolver.so.10'; dlerror: libcusolver.so.10: cannot open shared object file: No such file or directory CUDA11 阅读全文
posted @ 2021-11-01 10:44 wioponsen 阅读(1225) 评论(0) 推荐(0) 编辑
摘要:检查CUDA 和 cudnn版本是否正确且匹配 尝试在代码前增加以下代码可以解决(本人机器解决) ref: https://blog.csdn.net/qq_35407318/article/details/107822918 physical_devices = tf.config.experim 阅读全文
posted @ 2021-09-01 20:18 wioponsen 阅读(260) 评论(0) 推荐(0) 编辑
摘要:ref:https://blog.csdn.net/u014365862/article/details/79397919 import tensorflow as tf reader = tf.train.NewCheckpointReader("./model.ckpt") variables 阅读全文
posted @ 2021-07-26 16:07 wioponsen 阅读(97) 评论(0) 推荐(0) 编辑
摘要:原因: tensorflow使用的转换规范和OpenCV使用的不一致,使用OpenCV的转换矩阵即可实现一致的转换结果。 def rgb_to_yuv(images): rgb_to_yuv_kernel = [[0.299, -0.169, 0.500], [0.587, -0.331, -0.4 阅读全文
posted @ 2021-06-04 15:14 wioponsen 阅读(185) 评论(0) 推荐(0) 编辑
摘要:ref: https://github.com/daquexian/onnx-simplifier/issues/94#issuecomment-706077511 run onnxsim with --skip-optimizer fuse_consecutive_concats example: 阅读全文
posted @ 2021-05-21 14:05 wioponsen 阅读(926) 评论(0) 推荐(0) 编辑
摘要:申明:转载注明出处 https://www.cnblogs.com/wioponsen/p/14570312.html 方式一 使用torch.nn.functional.unfold def space_to_depth(in_tensor, down_scale): n, c, h, w = i 阅读全文
posted @ 2021-03-23 16:36 wioponsen 阅读(1886) 评论(0) 推荐(0) 编辑
摘要:论文: https://arxiv.org/pdf/1804.02815.pdf 主页:http://mmlab.ie.cuhk.edu.hk/projects/SFTGAN/ 代码:https://github.com/xinntao/SFTGAN 贡献点: 提出了SFT层 In this pap 阅读全文
posted @ 2021-02-02 16:42 wioponsen 阅读(370) 评论(0) 推荐(0) 编辑
摘要:替换代码: import tensorflow as tf 修改为: import tensorflow.compat.v1 as tf tf.disable_v2_behavior() 阅读全文
posted @ 2020-11-20 16:56 wioponsen 阅读(724) 评论(0) 推荐(0) 编辑
摘要:关于Wasserstein GAN的讲解,深入浅出,很棒,收藏! 【知乎】令人拍案叫绝的Wasserstein GAN 代码实现: https://github.com/martinarjovsky/WassersteinGAN 阅读全文
posted @ 2020-11-17 17:29 wioponsen 阅读(79) 评论(0) 推荐(0) 编辑
摘要:SSIM 公式含义: SSIM(x,y)=[l(x,y)]α[c(x,y)]β[s(x,y)]γ 亮度: l(x,y)=2μxμy+c1μx2+μy2+c1 对比度: 阅读全文
posted @ 2020-11-13 14:47 wioponsen 阅读(429) 评论(0) 推荐(0) 编辑
摘要:代码 def data_iterator(tfrecords, batch_size=2, shuffle=True, train=True, num_parallel_reads=3): # 声明TFRecordDataset dataset = tf.data.TFRecordDataset(t 阅读全文
posted @ 2020-11-13 14:36 wioponsen 阅读(663) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示