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

Optimise hdf5 #36

Open
wants to merge 58 commits into
base: main
Choose a base branch
from
Open

Optimise hdf5 #36

wants to merge 58 commits into from

Conversation

hllelli2
Copy link
Collaborator

@hllelli2 hllelli2 commented Oct 1, 2024

  • MapDataset, ArrayDataset and MapDataloader to handle inputs of .mrc or .map data.
  • Transformations and Augmentations build upon CCPEM_Utils.
  • Hdf5 intermediate data store
  • Added accompanying tests
  • Added basic pip install

…the dataloader, augment them and saves them to array. For a specific usecase in ml-toolkit
@hllelli2 hllelli2 requested a review from aj26git October 1, 2024 13:13
@hllelli2 hllelli2 self-assigned this Oct 1, 2024
:return: (np.ndarray) rotated volume or (np.ndarray, int, int) rotated volume and rotation parameters
"""

def __init__(self, random_seed: int = 42):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the random seed argument here. Does seem to be used?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh its not implemented yet!

tests/test_map_io.py Outdated Show resolved Hide resolved
tests/conftest.py Outdated Show resolved Hide resolved
@aj26git
Copy link
Collaborator

aj26git commented Oct 3, 2024

@hllelli2 : Overall it looks good. I have added a few comments/suggestions. It is good to go once these are addressed.

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

Successfully merging this pull request may close these issues.

2 participants