Open 924657644 opened 2 years ago
如果ppdet2.0是正常的话,可以手动克隆并安装release/2.0分支的paddledetection
# 克隆PaddleDetection仓库
git clone https://github.com/PaddlePaddle/PaddleDetection.git
# 切换到release/2.0分支
git checkout release/2.0
# 安装其他依赖
cd PaddleDetection
pip install -r requirements.txt
# 编译安装paddledet
python setup.py install
在本地想用SlowFast+Fast R-CNN来预测 按照官方的文档操作后,发现PaddleDetection只能用2.0的版本,最新的2.4版本对ppdet进行了修改 这样做以后出现了问题
以为是cuda的问题,尝试将use_gpu设成False 依然出现问题,我该如何解决呢
C++ Traceback (most recent call last):
0 paddle::AnalysisPredictor::ZeroCopyRun() 1 paddle::framework::NaiveExecutor::Run() 2 paddle::framework::OperatorBase::Run(paddle::framework::Scope const&, phi::Place const&) 3 paddle::operators::WhileOp::RunImpl(paddle::framework::Scope const&, phi::Place const&) const 4 paddle::framework::Executor::RunPreparedContext(paddle::framework::ExecutorPrepareContext, paddle::framework::Scope, bool, bool, bool) 5 paddle::framework::Executor::RunPartialPreparedContext(paddle::framework::ExecutorPrepareContext, paddle::framework::Scope, long, long, bool, bool, bool) 6 paddle::framework::OperatorBase::Run(paddle::framework::Scope const&, phi::Place const&) 7 paddle::operators::ConditionalBlockOp::RunImpl(paddle::framework::Scope const&, phi::Place const&) const 8 paddle::framework::Executor::Run(paddle::framework::ProgramDesc const&, paddle::framework::Scope, int, bool, bool, std::vector<std::string, std::allocator > const&, bool, bool)
9 paddle::framework::Executor::RunPreparedContext(paddle::framework::ExecutorPrepareContext , paddle::framework::Scope, bool, bool, bool)
10 paddle::framework::Executor::RunPartialPreparedContext(paddle::framework::ExecutorPrepareContext, paddle::framework::Scope, long, long, bool, bool, bool)
11 paddle::framework::OperatorBase::Run(paddle::framework::Scope const&, phi::Place const&)
12 paddle::framework::OperatorWithKernel::RunImpl(paddle::framework::Scope const&, phi::Place const&) const
13 paddle::framework::OperatorWithKernel::RunImpl(paddle::framework::Scope const&, phi::Place const&, paddle::framework::RuntimeContext) const
14 phi::KernelImpl<void ()(phi::CPUContext const&, phi::DenseTensor const&, phi::DenseTensor const&, paddle::optional<phi::DenseTensor const&>, int, int, float, int, bool, phi::DenseTensor), &(void phi::RoiAlignKernel<float, phi::CPUContext>(phi::CPUContext const&, phi::DenseTensor const&, phi::DenseTensor const&, paddle::optional<phi::DenseTensor const&>, int, int, float, int, bool, phi::DenseTensor))>::Compute(phi::KernelContext)
15 void phi::RoiAlignKernel<float, phi::CPUContext>(phi::CPUContext const&, phi::DenseTensor const&, phi::DenseTensor const&, paddle::optional<phi::DenseTensor const&>, int, int, float, int, bool, phi::DenseTensor)
16 void phi::Interpolate(std::vector<float, std::allocator >&, std::vector<phi::OffsetsAndRatios, std::allocator<phi::OffsetsAndRatios > > const&, float const )
Error Message Summary:
FatalError:
Segmentation fault
is detected by the operating system. [TimeInfo: Aborted at 1653376329 (unix time) try "date -d @1653376329" if you are using GNU date ] [SignalInfo: SIGSEGV (@0x7f719980d068) received by PID 3144681 (TID 0x7f715b838740) from PID 18446744071989940328 ]Segmentation fault (core dumped)