Open sxy0226 opened 1 year ago
我在可视化时也遇到了同样的问题,图片上是一团混乱的线条,下方有缩小的原图。
Sorry, it might be my mistake that I made incorrect changes to the kitti config file. Could you try resetting the repository to f808d51740990293de770a97d81be2f78ca3c7b3? git reset --hard f808d51740990293de770a97d81be2f78ca3c7b3
我使用了mmcv中的dcn,并按照您的说明和问题23修改了代码,除此以外没有修改。运行时有一些警告但没有报错,但准确率一直是0,可视化图像也是错误的,coco和kitti两个数据集都是一样的情况,想请教一下是不是哪里操作不当? 测试时使用的代码:
python test.py kitti --checkpoint model/model_kitti.pth --stage coarse
python visualize.py coco data/coco --checkpoint model/model_coco.pth --with_nms True --output_dir data/result/coco
得到的可视化图像是一团混乱的线条,能看到线条下方有缩小的原图 运行时的警告: load model: model/model_kitti.pth loading annotations into memory... Done (t=3.27s) creating index... index created! 命令语法不正确。 loading annotations into memory... Done (t=3.30s) creating index... index created! 0%|UserWarning: Named tensors and all their associated APIs are an experimental feature and subject to change. Please do not use them for anything important until they are released as stable. (Triggered internally at ..\c10/core/TensorImpl.h:1156.) return torch.max_pool2d(input, kernel_size, stride, padding, dilation, ceil_mode)
UserWarning: Default grid_sample and affine_grid behavior has changed to align_corners=False since 1.3.0. Please specify align_corners=True if the old behavior is desired. See the documentation of grid_sample for details. "Default grid_sample and affine_grid behavior has changed "
请问现在这个问题解决了吗
您好,现在代码已更新,可以直接采用mmcv的dcn加载提供的预训练模型来可视化,我测试结果显示正常。mmcv-full版本为1.7.1.
您好,现在代码已更新,可以直接采用mmcv的dcn加载提供的预训练模型来可视化,我测试结果显示正常。mmcv-full版本为1.7.1.
好的感谢~
我使用了mmcv中的dcn,并按照您的说明和问题23修改了代码,除此以外没有修改。运行时有一些警告但没有报错,但准确率一直是0,可视化图像也是错误的,coco和kitti两个数据集都是一样的情况,想请教一下是不是哪里操作不当? 测试时使用的代码:
python test.py kitti --checkpoint model/model_kitti.pth --stage coarse
python visualize.py coco data/coco --checkpoint model/model_coco.pth --with_nms True --output_dir data/result/coco
得到的可视化图像是一团混乱的线条,能看到线条下方有缩小的原图 运行时的警告: load model: model/model_kitti.pth loading annotations into memory... Done (t=3.27s) creating index... index created! 命令语法不正确。 loading annotations into memory... Done (t=3.30s) creating index... index created! 0%|UserWarning: Named tensors and all their associated APIs are an experimental feature and subject to change. Please do not use them for anything important until they are released as stable. (Triggered internally at ..\c10/core/TensorImpl.h:1156.) return torch.max_pool2d(input, kernel_size, stride, padding, dilation, ceil_mode)
UserWarning: Default grid_sample and affine_grid behavior has changed to align_corners=False since 1.3.0. Please specify align_corners=True if the old behavior is desired. See the documentation of grid_sample for details. "Default grid_sample and affine_grid behavior has changed "