Skip to content

Build failure (acl_lrn_layer.o) #1

@kmonachopoulos

Description

@kmonachopoulos

Hello,
i am trying to deploy caffe on Firefly RK3288 following the steps from "release_notes" that you provide. I managed to install ARM ComputeLibrary successfully, but when I am trying to build caffe I am getting the following error:

CXX src/caffe/layers/acl_lrn_layer.cpp
src/caffe/layers/acl_lrn_layer.cpp: In member function 'virtual void caffe::ACLLRNLayer<Dtype>::SetupACLLayer(const std::vector<caffe::Blob<Dtype>*>&, const std::vector<caffe::Blob<Dtype>*>&)':
src/caffe/layers/acl_lrn_layer.cpp:31:45: error: 'IN_MAP' is not a member of 'arm_compute::NormType'
        norm_info=new NormalizationLayerInfo(NormType::IN_MAP, this->size_, this->alpha_, this->beta_, this->k_);
                                             ^~~~~~~~
Makefile:632: recipe for target '.build_release/src/caffe/layers/acl_lrn_layer.o' failed
make: *** [.build_release/src/caffe/layers/acl_lrn_layer.o] Error 1

The example that you are providing concerns firefly 3399 board and not the firefly 3288 that i have, so is there any extra dependencies that I am missing?

P.S Inside the enumerator class NormType there is not a IN_MAP member.

enum class NormType
{
    IN_MAP_1D, /**< Normalization applied within the same map in 1D region */
    IN_MAP_2D, /**< Normalization applied within the same map in 2D region */
    CROSS_MAP  /**< Normalization applied cross maps */
};

Solved : Using Version ComputeLibrary : v17.05 solves the problem (I should read the manual carefully). I just saw that recently it has been a change in the recently ComputeLibrary newest version.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions