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

mAP全是0 #57

Open TimGor1997 opened 7 months ago

TimGor1997 commented 7 months ago

image

作者您好!我按照readme里面的指令对kitti train进行训练,但是得到的结果全是0,请问是什么情况呢?

我分开了两次训练,分别是以下指令: CUDA_VISIBLE_DEVICES=4,5,6,7 python -m torch.distributed.launch --nproc_per_node=4 train_cmkd. py --launcher pytorch --cfg cfgs/kitti_models/CMKD/CMKD-scd/cmkd_kitti_R50_scd_bev.yaml --tcp_port 1888 --pretrained_lidar_model ../checkpoints/scd-teacher-kitti.pth

CUDA_VISIBLE_DEVICES=4,5,6,7 python -m torch.distributed.launch --nproc_per_node=4 train_cmkd. py --launcher pytorch --cfg cfgs/kitti_models/CMKD/CMKD-scd/cmkd_kitti_R50_scd_V2.yaml --tcp_port 1888 --pretrained_lidar_model ../checkpoints/scd-teacher-kitti.pth --pretrained_img_model ../output/kitti_models/CMKD/CMKD-scd/cmkd_kitti_R50_scd_bev/default/ckpt/checkpoint_epoch_60.pth

TimGor1997 commented 7 months ago

log_train_20240109-121426.txt log_train_20240109-145504.txt 这是我的两个训练的log,能麻烦作者您帮忙看一下问题出在哪里吗?

TimGor1997 commented 7 months ago

@Cc-Hy Please help me !

Cc-Hy commented 7 months ago

image Note this line, the teacher model checkpoint is not fully loaded, which means the checkpoint and your teacher model config do not match. Please check it.

TimGor1997 commented 7 months ago

image Note this line, the teacher model checkpoint is not fully loaded, which means the checkpoint and your teacher model config do not match. Please check it.

我的 teacher model checkpoint 是model zoo 第二行里面的提供的 SECOND Teacher Model (scd-teacher-kitti.pth,68.4M,好像eigen clean 和普通的 Teacher Model 大小是一样的),然后 teacher model config 是 cmkd_kitti_R50_scd_bev.yaml,应该是匹配的吧?

TimGor1997 commented 6 months ago

作者您好!请问image @.***,期待您的回复,谢谢!

TimGor @.***

 

------------------ 原始邮件 ------------------ 发件人: "TimGor" @.>; 发送时间: 2024年1月9日(星期二) 晚上7:01 @*.**@*.>; @.>; 主题: 回复: [Cc-Hy/CMKD] mAP全是0 (Issue #57)

尊敬的作者       我的 teacher model checkpoint 是model zoo 第二行里面的提供的 SECOND Teacher Model (scd-teacher-kitti.pth,68.4M,好像eigen clean 和普通的 Teacher Model 大小是一样的),然后 teacher model config 是 cmkd_kitti_R50_scd_bev.yaml,应该是匹配的吧?

TimGor @.***

 

------------------ 原始邮件 ------------------ 发件人: "Cc-Hy/CMKD" @.>; 发送时间: 2024年1月9日(星期二) 晚上6:44 @.>; @.**@.>; 主题: Re: [Cc-Hy/CMKD] mAP全是0 (Issue #57)

image.png (view on web) Note this line, the teacher model checkpoint is not fully loaded, which means the checkpoint and your teacher model config do not match. Please check it.

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

Zengchangyu19990406 commented 5 months ago

我也遇到相同的问题,同学请问呢你解决这个了嘛