- 博客(11)
- 收藏
- 关注
原创 electron install too slow error
install electron error!config electron mirror
2022-06-12 18:35:50
210
原创 ValueError: (7FE0,0010) Pixel Data has an undefined length indicating that it‘s compressed, but the
ValueError: (7FE0,0010) Pixel Data has an undefined length indicating that it's compressed, but the data isn't encapsulated as required. See pydicom.encaps.encapsulate() for more information解决办法:newim_array = sitk.GetArrayFromImage(newimage)ds.PixelData =
2022-06-01 19:19:36
971
原创 npm install electron 失败
npm WARN @vue/cli-service@4.5.11 requires a peer of @vue/compiler-sfc@^3.0.0-beta.14 but none is installed. You must install peer dependencies yourself.npm WARN sass-loader@8.0.2 requires a peer of sass@^1.3.0 but none is installed. You must install peer.
2022-02-22 16:57:37
1841
原创 Mac 新建虚拟环境
先安装python3方法1:brew install python3 安装最新版方法2:官网下载地址:Python Release Python 3.6.7 | Python.org按照流程安装即可,会默认配置python3 环境。查看方法which python3新建虚拟环境pip3 install pipenv把pipenv 命令写成指令ln -s /usr/local/python3/bin/pipenv /usr/bin/pipenv如果报错/usr/
2022-02-17 15:43:30
625
原创 Vue 初学随笔(2)-elemnet-UI
使用element-ui先安装环境npm install element-ui -S在main.js 载入element-ui 样式import Vue from 'vue';import ElementUI from 'element-ui';import 'element-ui/lib/theme-chalk/index.css';import App from './App.vue';Vue.use(ElementUI);new Vue({ el: '#app',
2022-01-27 20:33:53
1237
原创 Vue 初学随笔(1)
Mac版本1.环境配置1.安装nodejs稳定版下载 | Node.jsnode version 12及以下(需注意版本与系统适配)2.安装 brew/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"3.安装pycharmhttp://www.lookdiv.com//##pycharm破解版4.Brew install google-chrome...
2022-01-19 15:10:58
241
原创 sitk::ERROR: Pixel type: 64-bit float is not supported in 3D by N3itk6simple29ConnectedComponentImag
SimmpleITK 在取最大连通区域时需要改变图像像素类型读图时itkimage = sitk.ReadImage(imagename, sitk.sitkUInt8)
2021-12-27 12:58:05
1821
1
原创 nnUNet 训练自己的数据
环境配置1.环境配置conda create -n nnUNetpython=3.7conda activate nnUNet切换下载源#查看当前conda配置conda config --show channels #设置通道conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/conda config --add channels https://mir.
2021-12-09 15:07:12
3077
1
原创 RuntimeError: The following handlers are available to decode the pixel data however they are missing
一般有两种解决方式1. 使用SimpleITK 替换pydicom 去强行索取pixel 信息2. 安装gdcm,但是通常会无法安装,可能由于网络原因,在不同的网络环境下都会报如下错误:conda install -c conda-forge gdcmCollecting package metadata (current_repodata.json): doneSolving environment: failed with initial frozen solve. Ret
2021-08-20 11:23:18
3484
1
原创 ubuntu 安装nodejs,npm
ubuntu 安装nodejs,npm1.查看系统版本cat /etc/issue2.安装nodejs npmsudo apt install nodejs -ysudo apt install npm -y查看当前安装版本sudo node -vsudo npm -v4.npm 下载源修改sudo npm config set registry https://registry.npm.taobao.orgsudo npm config list ...
2021-08-04 10:38:59
229
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人