Cc-Hy / CMKD

Cross-Modality Knowledge Distillation Network for Monocular 3D Object Detection (ECCV 2022 Oral)
Apache License 2.0
107 stars 9 forks source link

使用预训练模型 测试 #21

Open xiaoxusanheyi opened 1 year ago

xiaoxusanheyi commented 1 year ago

image image 首先这个使用预训练模型 打上命令后 出现图片上的错误 ,不知道怎么解决。

fmaaf commented 1 year ago

yaml文件错了 换成cmkd_kitti_eigen_R50_scd_V2.yaml试试

xiaoxusanheyi commented 1 year ago

yaml文件错了 换成cmkd_kitti_eigen_R50_scd_V2.yaml试试

试了你这个 生成了一个checkpoints文件里面只有DeepLAbv3 之后出现这个错误 image

xiaoxusanheyi commented 1 year ago

yaml文件错了 换成cmkd_kitti_eigen_R50_scd_V2.yaml试试

这个实验 ,我们因为实验环境不行,并没有去准备kitti raw 的CMKD*的那个模型,我们只做kitti官方数据集的CMKD的模型的复现实验。

Cc-Hy commented 1 year ago

Hello, Because the CMKD framework includes model_lidar and model_img, we use test_cmkd.py to infer the monocular model. And if you want to run a pure LiDAR model, you should use test.py instead of test_cmkd.py. In addition, if you want to reproduce the results of CMKD, you also need to use raw data, because we use depth pre-training with the eigen clean split in that setting. If you can't use the unlabeled data, I might upload a pre-trained backbone later and you can directly use it.

xiaoxusanheyi commented 1 year ago

您好, 因为CMKD框架包含了model_lidar和model_img,我们使用test_cmkd.py推断单目模型。如果你想运行一个纯 LiDAR 模型,你应该使用 test.py 而不是 test_cmkd.py。 另外,如果你想重现CMKD的结果,你还需要使用原始数据,因为我们在那个设置中使用了深度预训练和eigen clean split。如果你不能使用未标记的数据,我可能稍后会上传一个预训练的主干,你可以直接使用它。

好的 ,感谢你精彩的工作。

xiaoxusanheyi commented 1 year ago
    是不是我的命令敲错了,还是因为没有那个kitti raw数据集信息呀

                    ***@***.***

---- 回复的原邮件 ----

     发件人 

        ***@***.***>

     发送日期 

    2023年3月2日 22:47

     收件人 

        ***@***.***>

     抄送人 

        ***@***.***>
        ,

        ***@***.***>

     主题 

          Re: [Cc-Hy/CMKD] 使用预训练模型 测试 (Issue #21)

yaml文件错了 换成cmkd_kitti_eigen_R50_scd_V2.yaml试试

这个实验 ,我们因为实验环境不行,并没有去准备kitti raw 的CMKD*的那个模型,我们只做kitti官方数据集的CMKD的模型的复现实验。

下载这个模型:https://drive.google.com/file/d/17aijnxhzqTM0XuWyhXo1yk-f3hssdb9T/view?usp=share_link 我试过了是可以的

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

darsh1406 commented 9 months ago

I tried using train_cmkd.py as well test_cmkd.py but both the time it is showing github me this errorValueError: loaded state dict contains a parameter group that doesn't match the size of optimizer's group