debug_python
解决运行代码时的一些问题。
qq_48097205
这个作者很懒,什么都没留下…
展开
-
mmsegmentation中Batch inference is not support currently, as the image size might be different in ..
1问题:Batch inference is not support currently, as the image size might be different in a batch。译:目前不支持批量推理,因为批量中的图像大小可能不同。2解决方案:将val中batch_size设为1.原创 2024-03-30 20:28:32 · 230 阅读 · 0 评论 -
MMseg安装与使用记录
注意:MMSegmentation 可以在 Linux, Windows 和 macOS 系统上运行,并且需要安装 Python 3.7+, CUDA 10.2+ 和 PyTorch 1.8+。打开cmd,输入下面的指令,就可以看cuda版本号了。路径+选择环境变量自动添加。使用最佳实践0和1的a步骤。6、运行setup.py报错。1、pycharm下载。(1)查看cuda型号。(2)官网查找对应版本。原创 2024-03-12 20:40:11 · 1523 阅读 · 1 评论 -
AttributeError: module ‘distutils‘ has no attribute ‘version‘解决方案
用上述代码顶掉原来的版本。背景:使用pytorch。原创 2024-01-15 11:42:21 · 635 阅读 · 0 评论