Skip to content

Problems exporting model #215

@angelabr

Description

@angelabr

I'm trying to do:

export PADDLE_NNODES=1
export PADDLE_MASTER="127.0.0.1:12538"
export CUDA_VISIBLE_DEVICES=0
python -m paddle.distributed.launch \
    --nnodes=$PADDLE_NNODES \
    --master=$PADDLE_MASTER \
    --devices=$CUDA_VISIBLE_DEVICES \
    plsc-export \
    -c ./configs/IResNet100_WebFace42M_CosFace_pfc02_1n8c_dp_mp_fp16o1.yaml \
    -o Global.pretrained_model=/home/angela/Descargas/IResNet100_WebFace42M_CosFace_pfc02_1n8c_dp_mp_fp16o1 \
    -o FP16.level=O0 \
    -o Model.data_format=NCHW

and I get this error:

LAUNCH INFO 2024-03-11 12:29:45,551 ------------------------- ERROR LOG DETAIL -------------------------
Traceback (most recent call last):
  File "/home/angela/Descargas/PLSC-master/ven/bin/plsc-export", line 26, in <module>
    sys.exit(main())
  File "/home/angela/Descargas/PLSC-master/ven/bin/plsc-export", line 19, in main
    engine = Engine(config, mode="export")
  File "/home/angela/Descargas/PLSC-master/ven/lib/python3.7/site-packages/plsc/engine/engine.py", line 98, in __init__
    paddle.set_flags(RELATED_FLAGS_SETTING)
  File "/home/angela/Descargas/PLSC-master/ven/lib/python3.7/site-packages/paddle/fluid/framework.py", line 7493, in set_flags
    "Flag %s cannot set its value through this function." % (key)
ValueError: Flag FLAGS_cudnn_exhaustive_search cannot set its value through this function.

Could someone point me in the right direction? Thank you.

Metadata

Metadata

Assignees

No one assigned

    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