FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update for Python3 compatibility by satsumas · Pull Request #301 · tensorflow/lucid · GitHub

This repository was archived by the owner on Apr 10, 2024. It is now read-only.
/ lucid Public archive

Update for Python3 compatibility - #301

Open
satsumas wants to merge 1 commit into
tensorflow:masterfrom
satsumas:Py3
Open

Update for Python3 compatibility#301
satsumas wants to merge 1 commit into
tensorflow:masterfrom
satsumas:Py3

Conversation

Copy link
Copy Markdown

Colab runtime defaults to Python 3. The intro ipynb doesn't run in Python3, so I made two changes to the syntax to fix this.

  • Pin version of numpy that is compatible with lucid
  • Python3 ranges aren't lists, so explicitly cast to list before using in transformations

Supporting screenshots because ipynb diffs are a bit unwieldy:

Copy link
Copy Markdown

Check out this pull request on 

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL