Closed viterbi546 closed 1 year ago
I suspect the issue is because you are using multiple GPUs. Multiple GPUs should be supported by lightning so it's strange that this is failing. There are a few troubleshooting steps on the PyTorch lightning documentation. So, you could try running the below code to see if that highlights the error:
import pickle
model = SSCDModel()
pickle.dumps(model)
Alternatively, you could try passing the strategy="ddp"
argument to the Trainer
object.
Thank you, HHousen. Solve this issue.
My system has two GPU cards.
I set export CUDA_VISIBLE_DEVICES=0
to use first card only.
No more error message.
Thanks again.
Glad you fixed it 👍
Hi, thanks for your code. But I got error when run the code. I setup the AMI dataset by AMI-diarization-setup and didn't change any code. Run
python train.py
and got following error messages:Please help me to solve this problem. Thank you.