Skip to content

单卡训练报错ValueError: paddle.distributed initialize error, environment variable FLAGS_selected_gpus is needed, but not set. #3190

Open
@gongchenting

Description

@gongchenting

启动命令
export CUDA_VISIBLE_DEVICES=1
python3.7 tools/train.py -c ./ppcls/configs/car/car_poolformer_tricks_v15_re3.yaml
环境信息
Python 3.7.0
CUDA Version: 11.4
GPU: V100
paddle: 2.4.1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions