Skip to content

运行多卡训练出现No module named 'petrel_client' #67

@yeyanli

Description

@yeyanli

在编译./easy_setup.sh的时候出现很多warning:
(1)cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
(2)warning: ‘T* at::Tensor::data() const [with T = long int]’ is deprecated: Tensor.data() is deprecated. Please use
Tensor.data_ptr() instead. [-Wdeprecated-declarations
(3)nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may
be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning)
然后运行多卡命令:
python -m up train --fork-method spawn --config configs/det/efl/efl_improved_baseline_r50_2x_rfs.yaml --nm 1 --ng [8 --launch pytorch 2>&1 | tee log.train

报错:
No module named 'petrel_client

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