hkchengrex / MiVOS

[CVPR 2021] Modular Interactive Video Object Segmentation: Interaction-to-Mask, Propagation and Difference-Aware Fusion. Semi-supervised VOS as well!

Home Page:https://hkchengrex.com/MiVOS/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

在scribble的时候上一次的mask数据保存在哪里

lixiong4788 opened this issue · comments

您好,问一下:
当我们从click模式切换到scribble的时候,click所生成的mask数据保存在哪里了呢?

MiVOS/interactive_gui.py

Lines 899 to 913 in 7fe0d98

def complete_interaction(self):
if self.in_local_mode:
if self.local_interaction is not None:
self.clear_visualization()
self.local_interactions['interact'].append(self.local_interaction)
self.local_interaction = None
self.undo_button.setDisabled(False)
else:
if self.interaction is not None:
self.clear_visualization()
self.interactions['annotated_frame'].append(self.cursur)
self.interactions['interact'][self.cursur].append(self.interaction)
self.this_frame_interactions.append(self.interaction)
self.interaction = None
self.undo_button.setDisabled(False)