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

TODO: Implement mirroring in data loader #1

Closed
ndrplz opened this issue Mar 2, 2017 · 1 comment
Closed

TODO: Implement mirroring in data loader #1

ndrplz opened this issue Mar 2, 2017 · 1 comment

Comments

@ndrplz
Copy link
Owner

ndrplz commented Mar 2, 2017

The code that implemented data augmentation by mirroring in the old project follow for inspiration

mirror = bool(random.getrandbits(1))
augment_data and mirror:
np.array(frames_cropped)[..., ::-1]
np.array(frames_full)[..., ::-1]
np.array(frame_single)[..., ::-1]
np.array(frame_gt_cropped)[..., ::-1]
np.array(frame_gt_frame)[..., ::-1]

@ndrplz ndrplz changed the title Implement mirroring in data loader TODO: Implement mirroring in data loader Mar 2, 2017
@ndrplz
Copy link
Owner Author

ndrplz commented Mar 5, 2017

Solved by @DavideA in 8ca9ce2 and 59b8587

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