Closed lymcs closed 6 months ago
mpirun detected that one or more processes exited with non-zero status, thus causing the job to be terminated. The first process to do so was:
Process name: [[36386,1],0] Exit code: 1
Try this. !pip install yapf==0.40.1
After installation, there was still an error...
bevfusion) wsd2@wsd2:~/bevfusion$ torchpack dist-run -np 1 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 Invalid MIT-MAGIC-COOKIE-1 keyTraceback (most recent call last): File "tools/train.py", line 87, in
main()
File "tools/train.py", line 51, in main
logger.info(f"Config:\n{cfg.pretty_text}")
File "/home/wsd2/anaconda3/envs/bevfusion/lib/python3.8/site-packages/mmcv/utils/config.py", line 496, in prettytext
text, = FormatCode(text, style_config=yapf_style, verify=False)
TypeError: FormatCode() got an unexpected keyword argument 'verify'
Primary job terminated normally, but 1 process returned a non-zero exit code. Per user-direction, the job has been aborted.
mpirun detected that one or more processes exited with non-zero status, thus causing the job to be terminated. The first process to do so was:
Process name: [[36386,1],0] Exit code: 1