![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
错误记录
文章平均质量分 65
努力不菜
这个作者很懒,什么都没留下…
展开
-
RuntimeError: Error compiling objects for extension报错及fatal error: THC/THC.h: No such file or direct
在配置FCOS以及yolov5的项目环境时常常遇到这个问题:RuntimeError: Error compiling objects for extension,尝试在网上直接搜这个问题,很多都是说pytorch和CUDA版本不对应以及其他问题,但是始终没有得到解决,最后尝试细看那一堆错误发现有一句:fatal error: THC/THC.h: No such file or direct,想到之前配另一个代码的环境就是这个问题,当时也是改了很久,然后这次又来,实在害怕再来一次,记录一下。原创 2023-09-17 16:42:35 · 2547 阅读 · 0 评论 -
PIL save()报错ValueError: unknown file extension
PIL save()报错ValueError: unknown file extension原创 2023-03-29 16:53:55 · 4873 阅读 · 2 评论