We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
main_pretrain.py
Multi-GPU training (say, with devices 0, 1)
python main_pretrain.py \ --data_dir datasets/seco_1m --data_mode seco \ --base_encoder resnet18 --gpus 2
suffers from the same issue raised in Lightning-AI/pytorch-lightning#1506
The way to deal with it is to set --replace_sampler_ddp False, like so:
--replace_sampler_ddp False
python main_pretrain.py \ --data_dir datasets/seco_1m --data_mode seco \ --base_encoder resnet18 --gpus 2 --replace_sampler_ddp False
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Multi-GPU training (say, with devices 0, 1)
suffers from the same issue raised in Lightning-AI/pytorch-lightning#1506
The way to deal with it is to set
--replace_sampler_ddp False
, like so:The text was updated successfully, but these errors were encountered: