Skip to content

refactor: (minor) vq-vae#61

Merged
mateibejan1 merged 3 commits intodna-diffusionfrom
update-vqvae
Dec 14, 2022
Merged

refactor: (minor) vq-vae#61
mateibejan1 merged 3 commits intodna-diffusionfrom
update-vqvae

Conversation

@SauravMaheshkar
Copy link
Collaborator

Further follow up refactor of the VQ-VAE notebook. Changes can be summarized as follows:

  • Simplify pip installs into a single cell with the use of %%capture to avoid redundant cell outputs.
  • Add type hints to function outputs. doc strings did most of the work. Great job on that.
  • Run black on the notebook. Eventually we'll need to start thinking of enforcing this on developer side. (pre-commit ?)

Other comments: Should be easy enough to transfer over to the codebase without much difficulty. I'd recommend starting from the PyTorch modules and then moving to the other parts.

@SauravMaheshkar SauravMaheshkar added enhancement New feature or request refactoring Refactoring labels Dec 14, 2022
@SauravMaheshkar SauravMaheshkar self-assigned this Dec 14, 2022
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@mateibejan1 mateibejan1 merged commit b86df0b into dna-diffusion Dec 14, 2022
@SauravMaheshkar SauravMaheshkar deleted the update-vqvae branch December 24, 2022 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request refactoring Refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants