Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtdetr进行自动压缩过程中报错如下 #1868

Open
desinerPol opened this issue Apr 20, 2024 · 2 comments
Open

rtdetr进行自动压缩过程中报错如下 #1868

desinerPol opened this issue Apr 20, 2024 · 2 comments
Assignees

Comments

@desinerPol
Copy link

运行指令:
python run.py --config_path=./configs/rtdetr_hgnetv2_x_qat_dis.yaml --save_dir='./output/' --devices='cpu'

配置文件:

Global:
reader_config: configs/rtdetr_reader.yml
include_nms: False
Evaluation: True
model_dir: ./models/rtdetr_hgnetv2_6x_coco/
model_filename: model.pdmodel
params_filename: model.pdiparams

Distillation:
alpha: 1.0
loss: soft_label

TrainConfig:
train_iter: 500
eval_iter: 100
learning_rate:
type: CosineAnnealingDecay
learning_rate: 0.00003
T_max: 10000
optimizer_builder:
optimizer:
type: SGD
weight_decay: 4.0e-05

报错信息:
C++ Traceback (most recent call last):

0 paddle::framework::ThreadPoolTemplpaddle::framework::StlThreadEnvironment::WorkerLoop(int)
1 paddle::framework::ProgramInterpreter::RunInstructionAsync(unsigned long)
2 paddle::framework::ProgramInterpreter::RunInstruction(paddle::framework::Instruction const&)
3 paddle::framework::ProgramInterpreter::RunOperator(paddle::framework::Instruction const&)
4 phi::KernelImpl<void ()(phi::CPUContext const&, phi::DenseTensor const&, phi::DenseTensor const&, std::string const&, std::string const&, bool, phi::DenseTensor), &(void phi::GridSampleKernel<float, phi::CPUContext>(phi::CPUContext const&, phi::DenseTensor const&, phi::DenseTensor const&, std::string const&, std::string const&, bool, phi::DenseTensor*))>::Compute(phi::KernelContext*)
5 void phi::GridSampleKernel<float, phi::CPUContext>(phi::CPUContext const&, phi::DenseTensor const&, phi::DenseTensor const&, std::string const&, std::string const&, bool, phi::DenseTensor*)

@wanghaoshuang
Copy link
Collaborator

请问您使用的 PaddlePaddle 和 PaddleSlim 版本格式多少?

@desinerPol
Copy link
Author

请问您使用的 PaddlePaddle 和 PaddleSlim 版本格式多少?

paddlepaddle-gpu 2.6.1
paddleSlim git develop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants