NUSTM / VLP-MABSA

107 stars 10 forks source link

About the newly release checkpoint. #18

Open lxianl455 opened 1 year ago

lxianl455 commented 1 year ago

image image Is the bin file in the figure the pre-trained checkpoint?

lyhuohuo commented 1 year ago

yes

lxianl455 commented 1 year ago

image When I load the model, it reports that some weights are not used. Is that normal?

lyhuohuo commented 1 year ago

yes, it's normal.

lxianl455 commented 1 year ago

请问在MRM任务中,你是怎么通过Faster CNN来得到每个patch的语义类别的?如果patch很小,那会不会没有具体的语义类别?

lyhuohuo commented 1 year ago

您好,Faster RCNN抽取的各个目标区域框,不是切分的patch,模型本身会输出抽取的区域狂的类别概率分步。

lxianl455 commented 1 year ago

那你提供的那些数据里面有相关的区域框是那个region_box里面的数据? 以及 对应的类别概率分布有在提供数据中吗?处理这部分数据的代码能指一下路吗

lyhuohuo commented 1 year ago

数据中有提供

lyhuohuo commented 1 year ago

参考代码出处https://github.com/jiasenlu/bottom-up-attention/blob/master/tools/generate_tsv.py

lxianl455 commented 1 year ago

那个区域框 和 语义类别的概率分布 这些数据在哪个文件夹里,叫啥名 image

lxianl455 commented 1 year ago

参考代码出处https://github.com/jiasenlu/bottom-up-attention/blob/master/tools/generate_tsv.py

不好意思,我说可能的有点歧义。我的意思是你的代码里面是怎么处理这部分数据的,就是预训练的时候怎么处理这部分数据。是这里吗: image

lyhuohuo commented 1 year ago

是的,但需要在运行faster rcnn的时候添加进类别概率这一项

lyhuohuo commented 1 year ago

那个区域框 和 语义类别的概率分布 这些数据在哪个文件夹里,叫啥名 image

在region box里