Skip to content

Conversation

anisa-hawes
Copy link
Contributor

@anisa-hawes anisa-hawes commented Sep 24, 2025

I'm opening this PR to make the following short-term adjustments to facial-recognition-ai-python:

  1. Add os.environ["CUDA_VISIBLE_DEVICES"] = "-1" as final line of the Preliminaries block (in .md and .ipynb)
  2. Add new note explaining compatibility problem between TensorFlow and Google Colab / disabling GPU
  3. Remove existing note advising readers to ensure connection to a GPU runtime

Reference: #3558

Checklist

  • Assign yourself in the "Assignees" menu
  • Add the appropriate "Label"
  • If this PR closes an Issue, add the phrase Closes #ISSUENUMBER to your summary above
  • Ensure the status checks pass: if you have difficulty fixing build errors, please contact our Publishing Manager @anisa-hawes
  • Check the Netlify Preview: navigate to netlify/ph-preview/deploy-preview and click 'details' (at right)
  • Assign at least one individual or team to "Reviewers"
    • [ ] if the text needs to be translated, please follow the translation request guidelines, then assign the relevant language team(s) as "Reviewers" and tag both the team as well as the managing editor in your PR.

- Remove alert-warning at Setting Up Google Colab
- Add alert-warning at Preparing Your Environment
- Add `os.environ["CUDA_VISIBLE_DEVICES"] = "-1"` as final line of the Preliminaries block
Updated .ipynb
@anisa-hawes
Copy link
Contributor Author

Hello Alex @hawc2,

As you know, we have been in dialogue with Charlie Goldberg (author of facial-recognition-ai-python) about a reader-reported error with this lesson.

Charlie has advised proceeding with some short-term updates, while offering to work on some broader revisions to ensure the lesson can remain useful into the future.

This PR applies the short-term updates that make the lesson usable as it is (disabling the GPU for the session).

@anisa-hawes anisa-hawes requested a review from hawc2 September 24, 2025 17:52
@anisa-hawes anisa-hawes merged commit 14268db into gh-pages Sep 25, 2025
5 checks passed
@anisa-hawes anisa-hawes deleted the Issue-3558 branch September 25, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants