-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Trainging With 8 gpus #401
Comments
File "/home/anaconda3/envs/pytorch15/lib/python3.8/site-packages/mmcv/runner/fp16_utils.py", line 84, in new_func File "/home/mmsegmentation/mmseg/models/decode_heads/decode_head.py", line 186, in forward_train I use the following command: ./tools/dist_train.sh ./configs/deeplabv3plus/deeplabv3plus_r50-d8_512x1024_80k_cityscapes.py 8 --work-dir ./../mmseg_dictWork/test I set samples_per_gpu=1 workers_per_gpu=1 to use batchsize 8 |
Hi @csBob123 |
* karras-ve docs for issue open-mmlab#293 * make style
Thank you for your work. I found in your document, you note 'you may also use 8 GPUs and 1 imgs/gpu' . However, when I use 8 gpus, I got the following error:
ValueError: Expected more than 1 value per channel when training, got input size 1
Traceback (most recent call last):
File "/anaconda3/envs/pytorch15/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/anaconda3/envs/pytorch15/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/anaconda3/envs/pytorch15/lib/python3.8/site-packages/torch/distributed/launch.py", line 263, in
main()
Thank you for your attention.
Looking forward to hearing from you.
Thanks!
The text was updated successfully, but these errors were encountered: