bevfusion icon indicating copy to clipboard operation
bevfusion copied to clipboard

can't use np>1

Open Anna1ximi opened this issue 1 year ago • 8 comments

When I run the command: torchpack dist-run -np 4 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 pretrained/lidar-only-det.pth
--run-dir output/bev_result/ I get this problem: image And when I want to train the camera-only variant for object detection, I get this: image image Does anyone know how to fix it?Thanks!

Anna1ximi avatar Aug 08 '23 06:08 Anna1ximi

I think you need to provide more error info

quantumdotsss avatar Aug 09 '23 20:08 quantumdotsss

the number of np must match the number of gpus.

VanderBieu avatar Aug 11 '23 00:08 VanderBieu

That's all the information, only a few lines. @quantumdotsss

Anna1ximi avatar Aug 11 '23 01:08 Anna1ximi

I know, I adhere strictly to this point, but it always goes wrong. @VanderBieu

Anna1ximi avatar Aug 11 '23 01:08 Anna1ximi

same question.

Estrellama avatar Oct 19 '23 06:10 Estrellama

same question.

I started with the environment configuration all over again and it worked.

Anna1ximi avatar Oct 19 '23 06:10 Anna1ximi

3b1632720ae0a57b05736c6742e3c27 same question when I run the test.py error: address already use

ChirsHuanhuan avatar Oct 19 '23 06:10 ChirsHuanhuan

3b1632720ae0a57b05736c6742e3c27 same question when I run the test.py error: address already use

Hello, I have also encountered this problem. Have you resolved it?

huzhihen avatar Nov 05 '23 12:11 huzhihen