linux查看ipynb文件
使用jupyter查看
安装
bash
pip install jupyter
![](https://file.jishuzhan.net/article/1682937178390269954/49ad13ce1d744cd5b7264fe93a99cec3.png)
添加配置好的环境到jupyter notebook的kernel中:
bash
python -m ipykernel install --user --name mmdet --display-name "mmdet"
![](https://file.jishuzhan.net/article/1682937178390269954/0f3cdda454f74ac6af1ce86388dc22cf.png)
运行jupyter notebook
(在ipynb文件的目录下)
jupyter notebook
执行到这一步就会自动弹出来网页,可以运行已经存在的程序,也可以new一个新的程序。点击new按钮可以查看可用的环境。
更换内核:
![](https://file.jishuzhan.net/article/1682937178390269954/acf2ef2af99d467893cbb308947fb60e.png)