怎麼在jupyter Notebook中使用TensorFlow

1. 激活Tensorflow環境
conda activate tf_gpu
2. 安裝ipython
conda install ipython
3. 安裝jupyter
conda install jupyter
如果出錯用pip install jupyter
4. 安裝python kernel for tensorflow
ipython kernelspec install-self --user
5. 驗證
jupyter notebook

參考鏈接

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章