https-deeplearning-ai / https-deeplearning-ai/tensorflow-3-public
try catch block to check tensorflow version is obsolete
Open
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 96
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
I believe the following block of code could be removed wherever they appear. It acually flows into the exception.
try:
%tensorflow_version only exists in Colab.
%tensorflow_version 2.x
except Exception:
print('This does not pass')
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the repository's notebooks for the shown %tensorflow_version 2.x try/except block and inspect each occurrence in context. Remove the obsolete blocks wherever they appear, then run the affected notebooks to confirm they execute without the exception-handling code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- tensorflow
- Domain
- machine-learning
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100