Skip to content

augmentor.resize_sparse_flow_map does not work for non-sparse flow-maps #175

@Etienne66

Description

@Etienne66

def resize_sparse_flow_map(self, flow, valid, fx=1.0, fy=1.0):

I created Valid mask before-hand for FlyingThings. When I use this to resize it my numbers are vastly off from just re-scaling the flows and recalculating the Valid mask. That and my model doesn't learn when resize_sparse_flow_map is used. I'm not sure what is wrong with it, but something isn't right.

I thought perhaps the x and y coordinates were swapped, but thought perhaps that was due to the reshape that is used. Not too sure.

Or maybe it just doesn't work on Valid masks that only have a view invalid pixels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions