近期一些新的学习点的BLOG
关于各类激活函数激活函数:基础知识关于训练模型的暂停与继续PyTorch实现断点继续训练——知乎链顶会paper链接计算机视觉、图像处理顶会顶刊历年论文链接
关于各类激活函数
关于训练模型的暂停与继续
顶会paper链接
自定义loss function
pytorch自定义损失函数 custom loss function
网络精度不够的可调整原因
微软开源项目
关于Tensorboard
【tensorboard可视化-使用+虚线去除+数据点显示不全】
修改网络时遇到要求的数据类型不匹配问题
PyTorch:expected scalar type Float but found Double
import torch
torch.set_default_tensor_type(torch.DoubleTensor)
关于Batch Size大小对于训练过程的影响
关于L1和L2
Loss变得无穷大,梯度爆炸导致训练停止问题
WARNING: non-finite loss, ending training tensor(inf, grad_fn=<AddBackward0>
AttributeError: module ‘skimage.measure’ has no attribute ‘compare_ssim’
新老版本问题
from skimage.metrics import structural_similarity as compare_ssim
from skimage.metrics import peak_signal_noise_ratio as compare_psnr
参考链接:skimage.measure has no attribute compare_ssim解决方法
isinstance() 判断一个对象是否是一个已知的类型
isinstance(object, classinfo)
isinstance (a,int)
isinstance (a,(str,int,list)) # 是元组中的一个返回 True
关于神经网络中的各种细节
旷视CV Master基于神经网络的3D重建训练营
通过mask和原图 扣图
关于图像通道
NeRF blends with background colors in sRGB space, rather than first transforming to linear space, blending there, and then converting back.(See e.g. the PNG spec for more information on how the alpha
channel is always a linear quantity.) The following lines of code reproduce NeRF’s behavior (if enabled in testbed) in order to make the numbers comparable.
NeRF在sRGB空间中与背景颜色混合,而不是先转换到线性空间,在那里混合,然后再转换回来(关于 "alpha "通道如何总是一个线性量,请参见PNG规范)。下面几行代码再现了NeRF的行为(如果在 以下几行代码重现了NeRF的行为(如果在测试平台上启用),以便使数字具有可比性。
将 RGBA 颜色转换为 RGB-stackoverflow
判断两个数组完全相等
(a==b).all()
参考链接: python numpy 判断两个数组完全相等
灰度图、单通道图、三通道图、RGB图的区别与转换
“如果某个位置上 三个通道的值
都相同,图片也会是 黑白色
的,看起来和灰度图一样,但它本质上区别于灰度图。”

GitCode 天启AI是一款由 GitCode 团队打造的智能助手,基于先进的LLM(大语言模型)与多智能体 Agent 技术构建,致力于为用户提供高效、智能、多模态的创作与开发支持。它不仅支持自然语言对话,还具备处理文件、生成 PPT、撰写分析报告、开发 Web 应用等多项能力,真正做到“一句话,让 Al帮你完成复杂任务”。
更多推荐
所有评论(0)