Shengcao-Cao / CMT

[CVPR 2023] CMT: Contrastive Mean Teacher for Domain Adaptive Object Detectors
Apache License 2.0
38 stars 6 forks source link

question about pre-trained models of vgg16_caffe.pth #8

Closed ouyang11111 closed 8 months ago

ouyang11111 commented 8 months ago

Hello, due to issues with the pre-trained models, I am unable to reproduce the training of kitti2city at the moment.

In the PyTorch code, the required file is vgg16_caffe.pth, but what you provided is vgg16_bn-6c64b313_converted.pt (which throws an error: KeyError: 'features.0.weight' and cannot be trained).

Additionally, the download page for vgg16_caffe.pth from the PT paper is no longer available.

I attempted to download vgg16_bn-6c64b313.pth from the official PyTorch website, but it also cannot be trained.

how can I success train a kitti2city, hope for your reply,

thanks for your contribution in this area.

Shengcao-Cao commented 8 months ago

Hello @ouyang11111 ,

Here's my local copy of the file vgg16_caffe.pth: https://drive.google.com/file/d/1KEun_uXv5ycKQdeDjLjWU-GaWo0uFLEH/view?usp=sharing

If it still does not work, please directly open an issue in the original PT repo.

Best, Shengcao

ouyang11111 commented 8 months ago

Hello @ouyang11111 ,

Here's my local copy of the file vgg16_caffe.pth: https://drive.google.com/file/d/1KEun_uXv5ycKQdeDjLjWU-GaWo0uFLEH/view?usp=sharing

If it still does not work, please directly open an issue in the original PT repo.

Best, Shengcao

thanks for your reply but your model may corrupted. by your up-loading process . could you please re-upload one? thanks the model mistake shows in terminal as follows: image and the Netron(its function to view the model structure ) shows same mistake as follows: image

ouyang11111 commented 8 months ago

could you re-upload your vgg16_caffe.pth, the model you provided  may wrong

jianfeiou @.***

 

------------------ 原始邮件 ------------------ 发件人: "Shengcao-Cao/CMT" @.>; 发送时间: 2024年3月13日(星期三) 凌晨2:25 @.>; @.**@.>; 主题: Re: [Shengcao-Cao/CMT] question about pre-trained models of vgg16_caffe.pth (Issue #8)

Hello @ouyang11111 ,

Here's my local copy of the file vgg16_caffe.pth: https://drive.google.com/file/d/1KEun_uXv5ycKQdeDjLjWU-GaWo0uFLEH/view?usp=sharing

If it still does not work, please directly open an issue in the original PT repo.

Best, Shengcao

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

Shengcao-Cao commented 8 months ago

Hello @ouyang11111 ,

Sorry for the corrupted file. Please check this new link: https://drive.google.com/file/d/1eEaoecyh6CFlZvVWdUfDVz85lHF8DNaq/view?usp=sharing

Best, Shengcao