PruneTruong / DenseMatching

Dense matching library based on PyTorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some questions about the supervise loss

JiangHai0929 opened this issue · comments

Hi, I have some questions about the supervise loss as follows;
ss_loss_o, ss_stats_o = self.objective(estimated_flow_target_prime_to_target_directly, mini_batch['flow_map'], mask=mini_batch['mask'],
the mini_batch['flow_map'] is the ground-truth flow you generate in the online_triplet_creation.py (flow_gt = self.synthetic_flow_generator(mini_batch=mini_batch, training=training, net=net)) and the target image prime is warped by using the flow_gt, so the mini_batch['flow_map'] should be flow_target_to_target_prime_directly, why you caclulate the L1 distance between estimated_flow_target_prime_to_target_directly and mini_batch['flow_map'] rather than the distance between estimated_flow_target_to_target_prime_directly and mini_batch['flow_map'].
Thanks, Looking forward to your reply!

Hey, so I assume you answered your question? :)

yes, i made a mistake, thank you!