深度学习
pangsmao
研究领域:医学图像智能分析。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Voxel2Mesh程序运行常见问题
最近在跑Voxel2Mesh: 3D Mesh Model Generation from Volumetric Data (https://github.com/cvlab-epfl/voxel2mesh)的代码时,由于环境问题,出现了很多问题,总结如下:程序在运行过程中,要import rasterize_cuda,这个包是用c++和CUDA写的,在导入该包之前,rasterize.py文件的开头用了如下代码来编译这个包:from torch.utils.cpp_extension impor原创 2021-05-13 15:16:30 · 1484 阅读 · 0 评论 -
准确率、精准率、召回率、F1,我们真了解这些评价指标的意义吗?
见http://www.dataguru.cn/article-15646-1.html转载 2021-04-12 11:07:40 · 375 阅读 · 0 评论 -
关于F.grid_sample中的坐标系理解
torch.nn.functional.grid_sample()函数的参数grid,表示的是范围为[-1, 1]坐标系下的(x, y, z),坐标与数组的对应关系是:x -> w, y -> h, z -> d,测试代码如下:import numpy as npfrom torch.nn import functional as Fimport torchif __name__ == '__main__': d, h, w = 8, 10, 12 input原创 2020-06-02 17:56:57 · 2949 阅读 · 0 评论 -
解决存储阵列无法挂载,或者挂载成功后,重启服务器后存储阵列又要重新挂载
环境:ubuntu18.04问题:我要把存储阵列挂载到目录/public,但是这个目录无法挂载存储阵列,或者挂载成功后,重启服务器后存储阵列又要重新挂载,而挂载到其他目录就没有问题。原因分析:/public目录被多次挂载了。解决:fdisk -l可以看到返回的信息里面,有一行如上图所示,存储阵列的名字是/dev/sdb,用如下命令查看存储阵列的uuid:ls -l /d...原创 2020-04-27 11:50:53 · 3139 阅读 · 0 评论 -
解决Cannot uninstall 'wrapt'.
问题:Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.解决:pip install -U --i...原创 2020-04-27 11:34:54 · 825 阅读 · 0 评论 -
nvidia-smi无法使用,报错NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver
系统:ubuntu 18.04问题:nvidia-smi命令无法使用,报如下错误:NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running解决方法:1. 查...原创 2020-04-27 11:32:19 · 4617 阅读 · 3 评论 -
解决FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating`
FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`. from ._conv import re...原创 2020-04-27 11:15:09 · 504 阅读 · 0 评论 -
解决UserWarning: Matplotlib is building the font cache using fc-list.
UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. 'Matplotlib is building the font cache using fc-list. '的解决办法:pip install --upgrade matplotlib原创 2020-04-27 11:13:09 · 4668 阅读 · 0 评论 -
pycharm不能自动补全某些函数
在使用pycharm过程中,我发现很多pytorch的函数不能自动补全,也无法查看相应的源码,如torch.nn等。解决办法:在pycharm中,点击File -> Settings -> Editor -> File Types,如下图,在Registered Patterns中增加*.pyi即可。...原创 2020-04-27 11:07:05 · 5344 阅读 · 0 评论 -
Mask-RCNN中PyramidROIAlign的理解
最近在用Mask-RCNN来做目标检测,所用代码为:https://github.com/matterport/Mask_RCNN在model.py文件的PyramidROIAlign类中,有如下两行代码:roi_level = log2_graph(tf.sqrt(h * w) / (224.0 / tf.sqrt(image_area)))roi_level = tf.mini...原创 2018-08-22 23:05:40 · 3595 阅读 · 10 评论
分享