-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test code bug in training #3
Comments
I just fix the bug.Modify rpn_util.py #1444 1445 1446
Moreover, #1516 |
Thanks for your contribution to fixing the bug. I haven't tested multi-gpu training, you can modify the code to support this feature. |
Hi! To train with multi-gpu, you should modify the code at lib/core/init_training_model to as fllow: if 'CUDA_VISIBLE_DEVICES' not in os.environ.keys():
os.environ['CUDA_VISIBLE_DEVICES'] = '0'
device_ids = [id for id in range(len(os.environ['CUDA_VISIBLE_DEVICES'].split(',')))]
network = torch.nn.DataParallel(network, device_ids)
network.to('cuda') Then use |
Thanks for your research!
When I run
python scripts/train_rpn_3d.py --config=kitti_3d_base --exp_name base
, training is normal, but a bug appear in testing. My torch version is 0.4.1. It looks like a object type error, have you ever met the bug? Thank you!The text was updated successfully, but these errors were encountered: