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

Adjust formatting for SSL project code #39

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

jeffreydominic
Copy link
Collaborator

@jeffreydominic jeffreydominic commented Feb 16, 2023

This PR continues PR #35. I adjusted some formatting issues brought up in the previous PR.

The overall changes are:

  • Ran make autoformat & adjusted some docstring formatting issues and indentation errors
  • Made ContextUNetConfig a subclass of ContextEncoderConfig
  • Added the @njit decorator to the function that does Poisson-disc sampling
  • Ensured datasets are only registered if their paths exist
  • Added aliases for ConvStandardized2D class
  • Split if/else blocks in init() for CoarseDropout and SwapPatches into separate instance methods

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.

1 participant