- 博客(4)
- 收藏
- 关注
原创 AssertionError: The `num_classes` (14) in Shared2FCBBoxHead of MMDataParallel does not matches the。。
关于mmdetection报错AssertionError: The `num_classes` (14) in Shared2FCBBoxHead of MMDataParallel does not matches the length of `CLASSES` 80) in CocoDataset修改最简单的方法,只需要在config文件里修改。好多教程去修改coco.py和class_names.py,很麻烦,其实只需要在data里train,val,test里面加入你的classes就解决。
2023-03-11 11:36:11 420
原创 PyCharm Editor Python color scheme
个人编辑的颜色风格链接:https://pan.baidu.com/s/1SG8PP_-vV_hlZPlT3hm1_g提取码:agss
2022-03-12 12:40:36 1040
原创 CUDA11.5/pytorch1.10安装mmcv-full经验
说一下踩得坑:原来不懂,上去就pip install,结果安装上却不能用,因为版本不对------------------------------------------------------------------------------------------------------------------方法:首先要安装mmcv要去官网查看一下对应版本:GitHub - open-mmlab/mmcv: OpenMMLab Computer Vision Foundation目.
2021-12-28 09:23:35 6019
原创 解决cuda11.5//torch.cuda.is_available()输出False解决办法
先直接上图,这是我最后修改之后的结果,返回值为True看一下CUDA版本,确认为CUDA11.5现在说方法:之前我根据官网的输入安装指令:Start Locally | PyTorchconda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch可以看到官网给的代码是=11.3!!这个就是关键,不要去安装=11.5的版本。11.3的版本就兼容。11.5的版本在各种源里都找不到,如果你...
2021-12-26 19:12:39 2578 4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人