seoungwugoh / RGMP

Fast Video Object Segmentation by Reference-Guided Mask Propagation
192 stars 37 forks source link

Propagate_MS() missing 1 required positional argument: 'P2' #19

Open chenimaio opened 3 years ago

chenimaio commented 3 years ago

Hello. I tried the RGMP code to understand it. And i use the code made by xanderchf. but there is missing argument in the middle of code. How can i solve it.

Error was occurred in here for f in range(0, num_bptt - 1): output, ms = Propagate_MS(ms, all_F[:,:,f+1], all_E[:,0,f])

TypeError: Propagate_MS() missing 1 required positional argument: 'P2'

Thanks you in advance.

infinitr0us commented 3 years ago

Propagate_MS(ms, model, all_F[:,:,f+1], all_E[:, 0, f])