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

Convert PyCola output to TFRecord #10

Open
YHRen opened this issue Mar 25, 2019 · 3 comments
Open

Convert PyCola output to TFRecord #10

YHRen opened this issue Mar 25, 2019 · 3 comments
Assignees

Comments

@YHRen
Copy link
Collaborator

YHRen commented Mar 25, 2019

PyCola produces a 3D universe (npz format)
We need to slice it into smaller trunks and convert it to TFRecord so that GAN can read it.

@YHRen YHRen self-assigned this Mar 25, 2019
@YHRen
Copy link
Collaborator Author

YHRen commented Mar 25, 2019

reformatNBody.py requires refactoring...

  • providing sensible API, removing hard-coded numbers, hard-coded directories and so on...
  • remove the feature of producing histogram...

@YHRen
Copy link
Collaborator Author

YHRen commented Mar 25, 2019

io_Cosmo-3param.py convert npz to TFrecord.

@YHRen
Copy link
Collaborator Author

YHRen commented Jun 10, 2019

in cosmoGAN paper: "these simulation boxes were rotated and translated to produce 1000 ray-traced lensing maps at the redshift plane z=1.0. Each map covers 12 square degrees, with 2048x2048 pixels, which we downsampled to 1024x1024 pixels."
I need to find the code converting the 3D simulation boxes to 2D projections.

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

No branches or pull requests

1 participant