Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Etienne66 opened this issue Nov 3, 2023 · 0 comments
Open

Comments

@Etienne66
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant