Closed fuqianya closed 2 years ago
How many GPUs do you have in your machine? If you have multiple devices and you want to use data parallel, it is recommended to use only 1 GPU, e.g
CUDA_VISIBLE_DEVICES=0 python apps/run_genebody.py --config configs/train.txt --dataroot ${GENEBODY_ROOT}
Another optional training strategy is to use distributed data parallel in multi-device machine or multiple machines. You can try scripts/train_ddp.sh
on your machine.
Thanks for your quick rely! Use only 1 GPU fix this bug. Thanks ~
Hi, authors
I follow the README to train GNR, but found the following error:
I only use one person to train, so the train data size is 7200. But this error is irrelevant with my training data. Can you train GNR with the code in this repo with the following command: