https-deeplearning-ai / https-deeplearning-ai/tensorflow-3-public
try catch block to check tensorflow version is obsolete
未關閉
還沒有人認領這個 Issue。
- 主要語言
- Jupyter Notebook
- 星號
- 96
- 分支
- 89
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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')
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
在儲存庫的 notebooks 中搜尋所示的 %tensorflow_version 2.x try/except 區塊,並在上下文中檢查每個出現的位置。刪除所有出現位置中的過時區塊,然後執行受影響的 notebooks,以確認它們在沒有例外處理程式碼的情況下也能執行。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- tensorflow
- 領域
- machine-learning
- Issue 類型
- 重構
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100