BioroboticsLab / pipeline

BeesBook Image Analysis Pipeline
http://beesbook.mi.fu-berlin.de
0 stars 0 forks source link

CPM branch does not build #9

Open hmoenck opened 8 years ago

hmoenck commented 8 years ago

Title says it. Seems like a problem with caffe.

In file included from /mnt/IC_Work/ImageCompressBuild/cpm-packages/modules/github_bioroboticslab_pipeline_cpm/src/pipeline/src/Localizer.cpp:1:0: /mnt/IC_Work/ImageCompressBuild/cpm-packages/modules/github_bioroboticslab_pipeline_cpm/src/pipeline/src/../Localizer.h:44:21: error: 'DataTransformer' is not a member of 'caffe' std::unique_ptrcaffe::DataTransformer _caffeTransformer; ^ /mnt/IC_Work/ImageCompressBuild/cpm-packages/modules/github_bioroboticslab_pipeline_cpm/src/pipeline/src/../Localizer.h:44:21: error: 'DataTransformer' is not a member of 'caffe' /mnt/IC_Work/ImageCompressBuild/cpm-packages/modules/github_bioroboticslab_pipeline_cpm/src/pipeline/src/../Localizer.h:44:49: error: template argument 1 is invalid std::unique_ptrcaffe::DataTransformer _caffeTransformer; ^ /mnt/IC_Work/ImageCompressBuild/cpm-packages/modules/github_bioroboticslab_pipeline_cpm/src/pipeline/src/../Localizer.h:44:49: error: template argument 2 is invalid /mnt/IC_Work/ImageCompressBuild/cpm-packages/modules/github_bioroboticslab_pipeline_cpm/src/pipeline/src/Localizer.cpp: In member function 'std::vectorpipeline::Tag pipeline::Localizer::filterTagCandidates(std::vectorpipeline::Tag&&)': /mnt/IC_Work/ImageCompressBuild/cpm-packages/modules/github_bioroboticslab_pipeline_cpm/src/pipeline/src/Localizer.cpp:310:22: error: base operand of '->' is not a pointer _caffeTransformer->Transform(data, &caffeData); ^ /mnt/IC_Work/ImageCompressBuild/cpm-packages/modules/github_bioroboticslab_pipelinecpm/src/pipeline/src/Localizer.cpp: In member function 'void pipeline::Localizer::initializeDeepLocalizer(deeplocalizer::CaffeClassifier)': /mnt/IC_Work/ImageCompressBuild/cpm-packages/modules/github_bioroboticslab_pipeline_cpm/src/pipeline/src/Localizer.cpp:348:27: error: cannot convert 'std::_MakeUniqcaffe::DataTransformer::__single_object {aka std::unique_ptrcaffe::DataTransformer}' to 'int' in assignment _caffeTransformer = std::makeuniquecaffe::DataTransformer( ^ make[2]: ** [cpm-bin/github_bioroboticslab_pipeline_cpm/bin/CMakeFiles/github_bioroboticslab_pipeline_cpm.dir/pipeline/src/Localizer.cpp.o] Error 1 make[1]: * [cpm-bin/github_bioroboticslab_pipeline_cpm/bin/CMakeFiles/github_bioroboticslab_pipeline_cpm.dir/all] Error 2 make: * [all] Error 2

nebw commented 8 years ago

The cpm branch has been merged into the master branch quite a while ago and is not maintained. Please give me a notice as soon as you don't depend on it anymore, so I can remove it to avoid future confusion.

hmoenck commented 8 years ago

Depends on it: https://github.com/hmoenck/ImageCompress This code should actually be archived but complies no coding conventions etc. Using a recent version will cause for sure scientific inconsistencies of code and my results. So it's either fixing or deleting it from github.