![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
排错
菜根檀
这个作者很懒,什么都没留下…
展开
-
Idea Maven项目Hibernate配置过程中的问题
Idea Maven项目Hibernate配置过程中的问题Could not locate cfg.xml resource [hibernate.cfg.xml] 如果你的项目是src/main/java,hibernate.cfg.xml不是放在java下,而是java下的resources中Unable to create requested service检查hibernate.cfg.xml,主要是(以my SQL 8为例):<property name="connect原创 2021-12-10 11:25:33 · 466 阅读 · 0 评论 -
BrokenPipeError: [Errno 32] Broken pipe
RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase. This probably means that you are not using fork to start your child processes and you have forg原创 2021-10-18 11:37:22 · 1278 阅读 · 0 评论 -
AttributeError: module ‘scipy‘ has no attribute ‘spatial‘
最近想通过 KDTree 来实现最近邻搜索,进而实现对图片目标进行边界盒标注。但自己写太过复杂,看到有大佬介绍scipy包提供了KDTree的直接生成方法,于是尝试进行调用。调用代码如下:leafsize = 2048tree = scipy.spatial.KDTree(pts.copy(), leafsize=leafsize)然鹅,出错:Traceback (most recent call last): File "D:/tanyacheng/Experiments/Crowd_Cou原创 2021-06-23 21:34:29 · 1576 阅读 · 0 评论