KyanChen / RSPrompter

This is the pytorch implement of our paper "RSPrompter: Learning to Prompt for Remote Sensing Instance Segmentation based on Visual Foundation Model"
https://kychen.me/RSPrompter
Apache License 2.0
526 stars 36 forks source link

关于feature aggregator实现逻辑 #111

Open 111986 opened 1 month ago

111986 commented 1 month ago

在rsprompter.models.py中,RSFeatureAggregator的forward()函数的逻辑似乎和论文公式(3)对不上吧,代码中先将hidden_state = x + hidden_state,然后再传入hidden_conv,而公式(3)中hiddenconv的输入应该只有m{i-1},也就是代码中的x才对吧