[DLSP25] Updated deprecated dependencies, added comments, edited metadata, and added Mac OS "cuda device" support#73
Open
sunnydigital wants to merge 6 commits intoAtcold:masterfrom
Open
Conversation
Introduced a USE_LATEX flag to control LaTeX rendering in matplotlib, improving compatibility for systems without LaTeX. Removed deprecated use_line_collection argument from plt.stem calls, fixed typos in docstrings, and updated path_planning_with_cost to return per-epoch costs.
…1-VAE.ipynb - Replaced deprecated .data usage with .detach() for safer tensor operations throughout the VAE notebook - Updated the display_images function and related code to improve compatibility with newer PyTorch versions - Updated the notebook metadata to reflect the correct kernel and Python version
…0-autoencoder.ipynb - Updated tensor operations to use .detach() before moving to CPU or plotting, preventing unnecessary computation graph retention - Added and revised comments for clarity, especially around data normalization, denoising, and visualization steps - Minor formatting and metadata updates included
…ting, and minor metadata updates to 04-spiral_classification.ipynb - Added explanatory comments throughout the notebook for clarity - Improved device handling by moving tensors and models to GPU when available and ensuring CPU copies for plotting - Updated training loop and plotting code to use device-appropriate tensors and models - Minor metadata updates and code style improvements.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.