MaxLeo-LMZ / BEVFusion_Learningnote

本Fork代码仓库作为本人记录学习BEVFusion的学习笔记使用,会逐步理解代码并添加大量中文注释。 本仓库代码已参照《bevfusion单显卡训练/测试》做了单GPU训练和测试的修改。 并在本人主机上做过了测试。
Apache License 2.0
69 stars 7 forks source link

ValueError: matrix contains invalid numeric entries #1

Open Eaton2022 opened 1 year ago

Eaton2022 commented 1 year ago

您好,我也是用单张3090去跑,报如下错:ValueError: matrix contains invalid numeric entries。这和单张训练有关系,请问您有办法避免这个错误吗?

MaxLeo-LMZ commented 1 year ago

您好,我也是用单张3090去跑,报如下错:ValueError: matrix contains invalid numeric entries。这和单张训练有关系,请问您有办法避免这个错误吗?

你可以参考这个回答:https://github.com/open-mmlab/mmdetection/issues/10141 同时,一般在跑模型时出现ValueError: matrix contains invalid numeric entries,可以尝试调学习率或者使用更小的数据集,我使用的是nuscense-mini数据集跑的,你可以尝试一下。

Eaton2022 commented 1 year ago

好的,我尝试将学习率调小,感谢你的回答。

Eaton2022 commented 9 months ago

3090的CPU处理数据太慢。我换了台2张2080Ti的,用的是OpenPCDet的框架,但使用预训练模型训练6个epoch的精度只有约63的mAP。

在 2023-11-13 15:50:53,"guangqianzhang" @.***> 写道:

您好,我也是用单张3090去跑,报如下错:ValueError: matrix contains invalid numeric entries。这和单张训练有关系,请问您有办法避免这个错误吗?

你可以参考这个回答:open-mmlab/mmdetection#10141 同时,一般在跑模型时出现ValueError: matrix contains invalid numeric entries,可以尝试调学习率或者使用更小的数据集,我使用的是nuscense-mini数据集跑的,你可以尝试一下。

参考#10141 说关掉amp模式,该如何关掉呢?题主是否找到了解决方案,谢谢您的分享。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>