add wandb, make compatible with ctd data
This commit is contained in:
@@ -155,6 +155,8 @@ class CREStereo(nn.Module):
|
||||
flow = None
|
||||
flow_up = None
|
||||
if flow_init is not None:
|
||||
if isinstance(flow_init, list):
|
||||
flow_init = flow_init[0]
|
||||
scale = fmap1.shape[2] / flow_init.shape[2]
|
||||
flow = -scale * F.interpolate(
|
||||
flow_init,
|
||||
|
||||
Reference in New Issue
Block a user