![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
pytorch
文章平均质量分 65
咪咕班克斯
这个作者很懒,什么都没留下…
展开
-
Bert 模型的一些测试(待更新~)
此博客中主要包含Bert 的一些测试:例如蕴含、问答、等下游任务利用官网的实例进行代码展现:原创 2022-03-16 22:07:36 · 858 阅读 · 0 评论 -
mask-rcnn demo
bug参考论文:Python开发:OpenCV版本差异所引发的cv2.findContours()函数传参问题 - 我命倾尘 - 博客园官方mask rcnn 地址:Vedanuj Goswami / vqa-maskrcnn-benchmark · GitLabhttps://github.com/Cadene/vqa-maskrcnn-benchmarkmeetshah1995 / vqa-maskrcnn-benchmark · GitLab我一般直接解压vqa-mas...原创 2022-03-15 18:55:36 · 6053 阅读 · 0 评论 -
CLIP 好多
https://github.com/openai/CLIP当运行CLIP 官网中的pip install git+https://github.com/openai/CLIP.git出现gnutls_handshake() failed: The TLS connection was non-properly terminated 错误,可参见下面博客。跳坑 gnutls_handshake() failed: The TLS connection was non-prop...原创 2022-02-15 16:46:17 · 2053 阅读 · 0 评论 -
ViT 家族的大杂烩(An Image is worth 16×16 Words)
ViT模型原创 2021-11-20 12:50:20 · 3724 阅读 · 2 评论 -
Improving Adversarial Robustness via Channel-Wise Activation Suppressing
参考:Improving Adversarial Robustness via Channel-Wise Activation Suppressing_MTandHJ的博客-CSDN博客原创 2021-11-05 11:01:13 · 259 阅读 · 0 评论 -
OSCAR 模型
Oscar/run_gqa.py at master · microsoft/Oscar · GitHub该模型一个特点,就是训练贼慢,而且还占很大的显存。我是指VQA 和GQA比LXMERT 的轻量版本来说,实在显得太漫长了。一次VQA微调至少个4天。GQA 还没有算过!!!...原创 2021-10-29 10:24:51 · 1956 阅读 · 3 评论 -
尝试去除偏置的VQA
运行大佬的GitHub - cdancette/rubi.bootstrap.pytorch: NeurIPS 2019 Paper: RUBi : Reducing Unimodal Biases for Visual Question Answering原创 2021-10-17 11:42:24 · 144 阅读 · 0 评论 -
咱们也来看看
pytorch学习系列(6):不同的层设置不同的学习率(迁移学习) - 知乎探究融合的情况原创 2021-10-12 22:41:15 · 69 阅读 · 0 评论 -
能否用Google search results api?
GitHub - rrwen/search_google: A command line tool and module for Google web and image searchhttps://github.com/rrwen/search_google#developer-install参考上面链接做法:首先需要第一个cse id 个人感觉按照网站的链接将google 网址敲上去添加,获取代码应该就能得到一个cx 的value 值第二个感觉跳转的链接没看出...原创 2021-10-10 22:11:36 · 4823 阅读 · 0 评论 -
没想到强化学习这么火 github
https://github.com/simoninithomas/Deep_reinforcement_learning_Coursehttps://github.com/aikorea/awesome-rlhttps://github.com/andri27-ts/Reinforcement-Learninghttps://github.com/PacktPublishing/Deep-Reinforcement-Learning-Hands-Onhttps://github.com/u原创 2021-10-08 21:09:35 · 246 阅读 · 0 评论 -
一个场景图生成模型
github优秀代码链接:https://github.com/deeplab-ai/atr-net原创 2021-08-20 09:32:20 · 868 阅读 · 0 评论 -
关于图的代码学习
代码链接:https://github.com/vuptran/graph-representation-learning原创 2021-08-18 21:20:00 · 102 阅读 · 0 评论 -
一个简单的字幕生成
github 大佬代码:https://github.com/sgrvinod/a-PyTorch-Tutorial-to-Image-Captioning原创 2021-07-31 12:36:55 · 1620 阅读 · 4 评论 -
尝试GraphVQA的优化器及初探VinVL
代码地址:https://github.com/codexxxl/GraphVQA原创 2021-07-19 15:48:11 · 525 阅读 · 5 评论 -
尝试阅读UVTransE代码
尝试阅读UVTransE代码原创 2021-07-18 10:02:01 · 379 阅读 · 0 评论 -
Python sorted() 函数、Pytorch collate_fn函数、Python scatter_函数,Python 迭代器dataloader
https://www.runoob.com/python/python-func-sorted.htmlsort 与 sorted 区别:sort 是应用在 list 上的方法,sorted 可以对所有可迭代的对象进行排序操作。list 的 sort 方法返回的是对已经存在的列表进行操作,无返回值,而内建函数 sorted 方法返回的是一个新的 list,而不是在原来的基础上进行的操作。sorted(iterable, cmp=None, key=None, reverse=Fal原创 2021-07-09 22:45:38 · 295 阅读 · 0 评论 -
GQA 的简单介绍
GQA 的简单介绍原创 2021-07-05 09:59:14 · 3082 阅读 · 2 评论 -
试试seq2seq
试验代码:https://github.com/bentrevett/pytorch-seq2seq/blob/master/1%20-%20Sequence%20to%20Sequence%20Learning%20with%20Neural%20Networks.ipynb原创 2021-06-28 10:28:30 · 213 阅读 · 0 评论 -
试采git
试采git参考:https://www.cnblogs.com/tugenhua0707/p/4050072.html原创 2021-06-26 09:11:54 · 130 阅读 · 0 评论 -
hello guass
参考:https://blog.csdn.net/weixin_39813574/article/details/111015907https://www.cnblogs.com/bingjianing/p/9117330.html原创 2021-06-25 15:12:14 · 105 阅读 · 0 评论 -
不知道扩展vg relation 种类数
不知道扩展vg relation 种类数,现在市面上都是VG150的身影了....但是检测的种类又那么多,尝试扩展微软模块neural motif 谓词种类数量......原创 2021-06-11 15:18:00 · 219 阅读 · 1 评论 -
继续抽取微软scenegraph relation 特征
继续抽取微软scenegraph relation 特征原创 2021-06-09 12:54:55 · 87 阅读 · 0 评论 -
上一篇文章scenegraph 自己数据集准备
由于我的数据集是coco2014所有github大佬提供过他的tsv数据文件。所以我从那些文件中,拼凑出和微软一致的数据存储tsv 形式。千人千面,千个代码最终要调到和它一致的tsv输入格式。这里原创 2021-06-09 10:34:53 · 483 阅读 · 8 评论 -
scene graph generation 一个microsoft 分享
https://github.com/microsoft/scene_graph_benchmark原创 2021-06-02 13:41:56 · 971 阅读 · 9 评论 -
dict 类型寻找top k 按照value值大小
dict 类型寻找top k 按照value值大小原创 2021-05-25 17:23:37 · 334 阅读 · 0 评论 -
lxmert部分代码的一点理解
代码连接:https://github.com/airsplay/lxmert从训练vqa的命令看齐原创 2021-05-11 19:49:52 · 1876 阅读 · 11 评论 -
regat 中GAT 部分代码的一点理解
#下面主要使用论文中 implicit GAT部分def prepare_graph_variables(relation_type, bb, sem_adj_matrix, spa_adj_matrix, num_objects, nongt_dim, pos_emb_dim, spa_label_num, sem_label_num, device): pos_emb_var.原创 2021-05-01 16:14:56 · 889 阅读 · 13 评论 -
stanford coreNLP简单使用
1.安装参考链接:https://blog.csdn.net/l919898756/article/details/81670228?spm=1001.2014.3001.55062.树结构可视化:安装nltk第三方包原创 2021-04-27 09:15:38 · 1568 阅读 · 4 评论 -
一个github代码片段(lstm和gru)
调用的库里的数据,其中forward 是将两个隐层变量拼接在一起forward_all 是将所有隐层变量返回class QuestionEmbedding(nn.Module): def __init__(self, in_dim, num_hid, nlayers, bidirect, dropout, rnn_type='GRU'): """Module for question embedding """原创 2021-04-24 12:53:04 · 516 阅读 · 4 评论 -
安装APEX
编写不易如果觉得不错,麻烦关注一下~成功截图:1. GITHUB连接:https://github.com/NVIDIA/apexgit 命令下载,如果觉得慢的话,可以直接压缩包下载。git clone 命令可以压缩包下载,-recusive 最好是git命令下载因为它可能会关联其他git包。但是也可以按照它提示的指令,将其他库的包放置当前包的某个目录下。2. APEX需要torch 模块。所以需要下载当前cuda 版本匹配的torch 版本,否则会爆出cuda 不匹配错误.原创 2021-04-21 11:16:18 · 561 阅读 · 0 评论 -
caffe 安装与matlab
记录一下:参考连接:https://blog.csdn.net/c0586/article/details/79176363 当遇到问题,请参考下面链接安装包https://blog.csdn.net/qq_40965177/article/details/90444355?spm=1001.2014.3001.5506https://blog.csdn.net/zhang_yang_43/article/details/78357446?spm=1001.2014.3001.5506ht原创 2021-04-17 14:41:59 · 491 阅读 · 0 评论 -
试验关系可视化
编写不易如果觉得不错,麻烦关注一下~目标,把数据集中的方位标出来,上面是实现效果的样本from PIL import Imageimport pylabimport matplotlib.pyplot as pltimg = Image.open('cat_dog.jpg')import matplotlib.patches as patchesdog_bbox, cat_bbox = [60, 45, 350, 400], [370, 100, 500, 350]def bbo.原创 2021-04-15 14:02:37 · 203 阅读 · 0 评论 -
方位角np函数
编写不易如果觉得不错,麻烦关注一下~图中篮框维下面的x,红框为下面的y。这篇文章就是为了看一下如何对象限进行定位分类。前面三类就不看了。d图分类的代码对应下面。首先对代码种的numpy 的几个求三角函数的进行介绍:参考连接:【1】https://blog.csdn.net/wzy628810/article/details/103919376【2】https://blog.csdn.net/wzy628810/article/details/103924303np.arcsi原创 2021-04-15 09:37:49 · 461 阅读 · 0 评论 -
张量在pytorch 乘积及Turker分解,张量扩展
参考连接https://blog.csdn.net/hopyGreat/article/details/86351972原创 2021-04-10 12:23:56 · 798 阅读 · 0 评论 -
就看看KNOWLEDGE HYPERGRAPHS(待更新)
参考链接:https://blog.csdn.net/AIyaya123564/article/details/109443594原创 2021-03-19 18:31:32 · 135 阅读 · 0 评论 -
分享深度学习的视频网址
http://deeplearning.net 关于深度学习比较全面的网站(论文、演示)原创 2017-12-09 16:17:56 · 2180 阅读 · 0 评论 -
写一篇GGNN 代码解析(待更新)
想写一篇GGNN 代码解析,主要想知道这个网络的优越性有多强。。。。没别的意思原创 2021-03-18 15:44:57 · 1177 阅读 · 0 评论 -
WordNet ConceptNet 及两个分词小助手
参考链接:【1】https://blog.csdn.net/zhyacn/article/details/6704340 官网:https://wordnet.princeton.edu/download【2】https://blog.csdn.net/itnerd/article/details/103478224 官网:http://www.conceptnet.io/原创 2021-03-16 14:38:30 · 1089 阅读 · 6 评论 -
如何自定义DataLoader次序(由于我的程序老宕~心塞)
参考链接:【1】https://blog.csdn.net/huhuan4480/article/details/113248503【2】https://blog.csdn.net/zw__chen/article/details/82806900由于自己的程序总是一个epoch 断掉,而每次重新继续运行我怀疑我的Sampler 一直是从第一个batch开始,所以我认为已经过拟合了。所以当前目标,是获取一次完整epoch的词序,然后存入一个文件中,每次断掉相应获取sampler 以固定。持续原创 2021-03-15 19:55:40 · 1444 阅读 · 1 评论 -
WIKI VISUAL GENOME知识库整理
WIKI API 试试数据调用接口 ,如果能调用就分享代码原创 2021-03-03 14:56:25 · 673 阅读 · 3 评论