Fine-grained Video-Text Retrieval with Hierarchical Graph Reasoning项目问题

github一个项目Semantic Graph Construction的一些问题
文本处理的jupyter文件里有关Augment Graph if no SRL is detected模块的AssertionError

img

原项目地址https://github.com/cshizhe/hgr_v2t

我想单独实现这个项目中Semantic Graph Construction这个模块
根据公开的百度网盘里下载了数据集,自己重新训练一下。我选择其中的MSVD,通过如下指令1

img

对MSVD的RET文件夹下的ref_caption_file进行训练,得到了out_file。之后使用parse sent to role graph这个juypter文件进行处理,我认为jupyter里的sent2srl就是这个out file,但是运行到Augment Graph if no SRL is detected这个模块时候就会报上面的错误,希望各位能帮忙解决一下

你把你这两个值输出出来,应该是数据不匹配造成的

https://blog.csdn.net/csdnzzkk/article/details/123874144?spm=1005.2026.3001.5635&utm_medium=distribute.pc_relevant_ask_down.none-task-blog-2~default~OPENSEARCH~Rate-3-123874144-ask-7772127.pc_feed_download_top3ask&depth_1-utm_source=distribute.pc_relevant_ask_down.none-task-blog-2~default~OPENSEARCH~Rate-3-123874144-ask-7772127.pc_feed_download_top3ask