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

CPM branch does not build #9

Open
hmoenck opened this issue Jul 21, 2016 · 2 comments
Open

CPM branch does not build #9

hmoenck opened this issue Jul 21, 2016 · 2 comments

Comments

@hmoenck
Copy link

hmoenck commented Jul 21, 2016

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_pipeline_cpm/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::make_uniquecaffe::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
Copy link
Member

nebw commented Jul 21, 2016

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
Copy link
Author

hmoenck commented Jul 21, 2016

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.

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