跟着同济子豪做数据集标注以及格式转换,教程如下:
https://github.com/TommyZihao/MMSegmentation_Tutorials
问题一:labelme AI polygon报错
本机电脑(国内win10)用这个功能会闪退,网上查找到需要把sam模型下载下来更改路径本地运行,嫌麻烦先放置,后面如果数据集变多了再研究。
问题二:remote jupyter请求token
pycharm连接的远程服务器,直接点击运行×
如果你使用单个远程服务器可以试试下面的方法,本人是集群服务器,现在也没找到怎么解决。。。
方法一:config jupyter server
知乎上看到的,测试后发现对ssh连接没用
- 终端运行↓
jupyter notebook
复制地址
- 修改config
上面复制的地址粘上去
方法二:安装jupyter_contrib_nbextensions
参考 https://blog.csdn.net/ACBattle/article/details/89401165
需要注意的点:
- 安装慢 加个镜像
pip install jupyter_contrib_nbextensions -i https://pypi.douban.com/simple
- 报错ModuleNotFoundError: No module named ‘notebook.base’
在运行本地bash的时候遇到这个问题,需要把notebook版本换掉。
pip install jupyter notebook==6.3.0 -i https://pypi.douban.com/simple
再次bash contrib,问题解决。
补充
第二天发现kernel切换不了- -
找到一个更详细的说明 https://blog.csdn.net/qq_43426078/article/details/123106951
报错again
遇到了相同错误但暂时还没有解答,没想到这么多问题。
https://stackoverflow.com/questions/75634200/jupyter-notebook-connecting-only-after-i-interrupt-it-how-to-fix-this-strange-b