-
Notifications
You must be signed in to change notification settings - Fork 29
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
Fix for patch commander #68
Conversation
…e borders. Also adds new optional functionality to not sample patches that do not have mask in the write-shape. This write shape is the shape to which the user will center crop the patches provided by the iterator for sliding window configs with overlap, where you crop off the overlapping borders
@martvanrijthoven Important fix here, happy to see it merged so I can rebuild my dockers and rerun inference. |
Hey Joey, thanks! One test failed: Could you check that out? Please let me know if you have any questions |
The issue
CommentI think this is actually the issue Im trying to resolve, but I could make asome improvements. The problem was that the iterator skipped tiles that should be sampled. For more complex configs many things could go wrong with the current setup. What I solved
About this specific test
ProposalI will make the addition of the border conditional on whether there is offset or overlap, otherwise the additional border will be skipped. Happy to hear your feedback |
@martvanrijthoven tests now successful |
quick heads up that im completely reworking it, the full loop should be reworked instead of adjusted |
Ill close this PR and open a new one for the rework |
Fix for patch commander skipping patches that should be sampled on the borders. Also adds new optional functionality to not sample patches that do not have mask in the write-shape. This write shape is the shape to which the user will center crop the patches provided by the iterator for sliding window configs with overlap, where you crop off the overlapping borders