kongwah

Results 8 comments of kongwah

Hello, I encountered a similar issue. Any solution? Please see the error output below. Thanks File "tools/visualize.py", line 168, in main() File "tools/visualize.py", line 90, in main outputs = model(**data)...

I resolved it by the following: -- compare the code between test.py and visualize.py -- since test.py works, check what is in test.py that is missing in visualize.py -- one...

I faced the same problem, when trying to use the new saved checkpoints from training a cam-only centerhead detector. I am not sure if it has anything to do with...

Hi fdy61, I notice the same "pretained/swint-nuimages-pretrained.pth" was used as a checkpoint for training the cam-only detector, and also as a checkpoint to train the cam+lidar detector. This is why...

Hi fdy61, Thanks for your tips. Indeed when I "ls -l" the 2 files, they are very different: > ls -l pretrained/swint-nuimages-pretrained.pth run/run-531bf67d-d3138be2/epoch_20.pth -rw-r--r-- 1 root root 110370759 Sep 26...

Can I do the following instead: torchpack dist-run -np 8 \ python tools/train.py configs/nuscenes/det/transfusion/secfpn/camera+lidar/swint_v0p075/convfuser.yaml \ --model.encoders.camera.backbone.init_cfg.checkpoint pretrained/swint-nuimages-pretrained.pth \ --load_from runs/run-531bf67d-d3138be2/epoch_20.pth \ --load_from pretrained/lidar-only-det.pth That is, have 2 "--load_from", loading both...

After some debugging, it seems that the issue is that the state_dict keys for pretrained/swint-nuimages-pretrained.pth differ from that of runs/run-531bf67d-d3138be2/epoch_20.pth by the prefix "encoders.camera.backbone". I am hoping that if I...

Hi fdy61, Thanks. The background is that I have trained the camera-only model, and using the "runs/run-531bf67d-d3138be2/epoch_20.pth" checkpoint, I have obtained mAP improvements over the "pretrained/camera-only-det.pth" Hence, my thinking is...