![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
她曾让你心动
这个作者很懒,什么都没留下…
展开
-
Xshell远程运jupyter在本地浏览器显示
Xshell远程运jupyter在本地浏览器显示 服务器端设置 #进入conda环境 lab@lab:~$ conda activate lzou # 生成配置文件 (lzou) lab@lab:~$ jupyter notebook --generate-config # 生成密码,启动python (lzou) lab@lab:~$ python >>> from notebook.auth import passwd >>> passwd() Enter pas原创 2021-01-24 22:57:47 · 699 阅读 · 1 评论 -
pyradiomics 运行 extractor.execute 时报错 Indexerror
pyradiomics 运行 extractor.execute 时报错 Indexerror 报错:IndexError:arrays used as indices must be of integer (or boolean) type 解决方法:将emptyGrayLevels的数据类型强制改为int,如下图: 注意:1、在源码中修改;2、修改glszm.py和 gldm.py(不确定是不是这个文件,可能不止一个),反正哪个文件报错就修改哪个 ; 出错原因:似乎是版本BUG,目前版本pyrad原创 2020-10-10 00:12:11 · 886 阅读 · 1 评论