JoyLee Blog

「做自己热爱的事,过自己想要的生活」

使用grad_cam对自己的模型进行可视化的Bug合集

开头 最近,因为自己的模型用到了交叉注意力机制,想对注意力的部分做关注区域的可视化工作,如下图所示。在网上搜索了解到grad_cam可以做热力图可视化,所以把grad_cam引入到自己的模型中,对交叉注意力的部分做热力图的可视化,在用的过程中遇到了各种各样的bug,在这里总结记录下来,供自己以后回顾,也供大家参考借鉴。 关于grad_cam的使用介绍,可以看B站UP主@Larry...

Bug Collection for Visualizing My Model Using grad_cam

Introduction Recently, I used a cross-attention mechanism in my model and wanted to visualize the attention regions, as shown in the figure below. After some research, I found that grad_cam can be...

使用Wandb,终端输出运行成功,但是为什么进入到W&B网页刷新一直看不到变化?

直接说解决方法: 检查登录的账号是否正确!!! 检查登陆的账号是否正确!!! 检查登录的账号是否正确!!! 详细记录: 最近使用Wandb的Table功能保存自己想要分析的一些信息的时候,代码运行成功了,终端输出如下图所示: 看起来没啥问题,但是当我点击终端的链接却总是报404的错误,进入到自己的主页面,刷新也一直看不到刚刚保存的Table的变化。 然后我不停地找自己代码是...

Using Wandb: Terminal Shows Successful Run, But Why Can't I See Updates on the W&B Webpage After Refreshing?

Solution at a Glance: Check if you are logged into the correct account!!! Check if you are logged into the correct account!!! Check if you are logged into the correct account!!! Detailed Note...

我的博客网站终于搭建好了!

开头 终于可以开始正式写博客了🥳,从11月14日下午开始捣鼓,到今天,总共花了将近3天的时间,来搭建现在的这个博客平台。虽然也可以直接在CSDN上面写技术博客,但作为程序媛👩‍💻,总觉得还是要有一个个人博客网站,因为搭建个人博客网站这个过程本身就会有很多问题需要解决,也能学到很多东西。😊 为什么想要开始写博客? 打算开始写博客,搭个人博客网站是一个很临时冒出来的想法,就是在11月14号...

My Blog Website is Finally Set Up!

Introduction I can finally start blogging officially 🥳! From the afternoon of November 14th to today, it took me nearly three days to set up this blog platform. Although I could have just written ...