Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

LRN has not been registered, ConvBatchnormScaleReluPool has not been registered error with Anakin inference engine #512

Open
avinashcpandey opened this issue Mar 18, 2019 · 2 comments

Comments

@avinashcpandey
Copy link

I followed below link for running CNN benchmark it
https://github.com/PaddlePaddle/Anakin/tree/developing/benchmark/CNN
https://github.com/PaddlePaddle/Anakin/blob/developing/docs/Manual/Converter_en.md

Steps I followed:

  1. I downloaded below model files for alexnet
    caffe.proto
    https://github.com/BVLC/caffe/blob/master/src/caffe/proto/caffe.proto

    alexnet.prototxt
    https://github.com/BVLC/caffe/blob/master/models/bvlc_alexnet/deploy.prototxt
    
    alexnet.caffemodel
     http://dl.caffe.berkeleyvision.org/bvlc_alexnet.caffemodel
    
  2. Then I used below Anakin converter to convert it into Anakin
    https://github.com/PaddlePaddle/Anakin/blob/developing/docs/Manual/Converter_en.md

  3. Now when I run run.sh for benchmark following below link
    https://github.com/PaddlePaddle/Anakin/tree/developing/benchmark/CNN

I get below error:
0| 16:01:55.00997| 0.221s| main_thread| input.cpp:19] |-- shape [3]: 227
FTL| 16:01:55.00997| 0.221s| main_thread| factory.h:37] LRN has not been registered!
*** fatal error: stack trace: ***
5 0x417c99 _start + 41
4 0x7f7289445830 __libc_start_main + 240
3 0x417b77 main + 791
2 0x425815 anakin::test::EngineTest::run_all(char const
) + 789
1 0x41c264 NetTest_net_execute_base_test::net_execute_base_test() + 2420
0 0x7f728a75bbec anakin::Net<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4>, (anakin::saber::DataType)1, (anakin::Precision)0, (anakin::OpRunType)1>::Net(anakin::graph::Graph<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4>, (anakin::saber::DataType)1, (anakin::Precision)0>&, bool) + 172
Aborted (core dumped)
*

With Resnet50 model i get below error

FTL| 15:21:08.00991| 0.244s| main_thread| factory.h:37] ConvBatchnormScaleReluPool has not been registered!
*** fatal error: stack trace: ***
5 0x417c99 _start + 41
4 0x7f310fec8830 __libc_start_main + 240
3 0x417b77 main + 791
2 0x425815 anakin::test::EngineTest::run_all(char const*) + 789
1 0x41c264 NetTest_net_execute_base_test::net_execute_base_test() + 2420
0 0x7f31111debec anakin::Net<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum

@qq332982511
Copy link
Collaborator

LRN and other OP have been added in #515, wait for merge

@avinashcpandey
Copy link
Author

Thanks for the update!
Can you check one issue(FPE error) i raised with Anakin(AMD GPU backend) ?
#516

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

No branches or pull requests

2 participants