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

Random output images #31

Closed
miguel-fc opened this issue Jan 4, 2022 · 2 comments
Closed

Random output images #31

miguel-fc opened this issue Jan 4, 2022 · 2 comments

Comments

@miguel-fc
Copy link

Hi, I'm using predrnn to predict future frames of experimental acquired data. To augment the data, I had cut each frame into overlapping tiles, and trained predrnn on those tiles.

Currently I'm testing how good predrnn predicts. To do so, I'm using the trained model on data, test.npz, that had not previously seen. This data is also composed of overlapping tiles, the collection of which represents different frames.

The problem I have is this: once predictions are made, the predicted tiles are generated in the corresponding folders, however these tiles are somewhat in a random order, or at least I'm sure they're not in the same order as in the test.npz file that was fed to the trained predrnn model. My question is, is it possible to preserve the same order? The reason for this is that I want to reconstruct frames from the predicted tiles, and if the tiles' order changes, it's very difficult to do a proper reconstruction.

Thanks
Miguel

@wuhaixu2016
Copy link
Collaborator

Hi, thanks for your interest.
I think you can fix the random seed or change the dataloader for data augmentation.

@miguel-fc
Copy link
Author

Hi, Thanks. This took care of it. Appreciated it.

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

2 participants