apollo icon indicating copy to clipboard operation
apollo copied to clipboard

交通信号灯识别模块caffe net的输入与输出层问题

Open yongyuandeyezi opened this issue 8 years ago • 13 comments

apollo-2.0.0\modules\perception\traffic_light\rectify\detection.h中 #include "caffe/layers/pyramid_layers.hpp" 安装编译caffe后,在caffe/layers中找不到/pyramid_layers.hpp 请问,pyramid_layers.hpp是否是apollo自己定义的,在哪里能够找到呢

yongyuandeyezi avatar Jan 22 '18 08:01 yongyuandeyezi

Are you running the program in docker?

lianglia-apollo avatar Jan 22 '18 10:01 lianglia-apollo

我没有在docker中运行 我只是把detect这部分代码单独拿出来,自己新建了一个工程,cmake后make

yongyuandeyezi avatar Jan 22 '18 10:01 yongyuandeyezi

@yongyuandeyezi 据我所知,caffe这部分现在是不开源的。

zhxt avatar Jan 22 '18 11:01 zhxt

for your info: Some libraries are only inside docker. https://github.com/ApolloAuto/apollo/issues/1751

My suggestion is that if you would like to play around without docker environment as a developer, you can build your own network layers.

For pyramid networks, here is a paper for your reference (this might be different from what perception team is using, but it could provide some related information to help you build your own one). Feature Pyramid Networks for Object Detection https://arxiv.org/abs/1612.03144

lianglia-apollo avatar Jan 22 '18 22:01 lianglia-apollo

caffe in docker is different from origin version and is not open source in Apollo 2.0. If you want to use outside docker please copy caffe's *.h and *.so to your environment. Or wait for Apollo 2.5

ghdawn avatar Jan 31 '18 06:01 ghdawn

Thank you very much!

yongyuandeyezi avatar Feb 01 '18 08:02 yongyuandeyezi

seemed still no open source plan for traffic light module in Apollo 2.5 @ghdawn

cjjsaic avatar Apr 23 '18 18:04 cjjsaic

Are all neural networks not open sourced ?

Peter9606 avatar Jun 20 '18 02:06 Peter9606

The caffe code is all open source now.

techoe avatar Jan 25 '19 18:01 techoe

@techoe where is caffe code that is open source in apollo?

breakisx avatar Jan 28 '19 02:01 breakisx

Hi @breakisx , the code is in another repo: https://github.com/ApolloAuto/caffe We build it and put the output into Apollo docker container: https://github.com/ApolloAuto/apollo/blob/master/docker/build/installers/install_gpu_caffe.sh

xiaoxq avatar Feb 13 '19 23:02 xiaoxq

Hi @breakisx , the code is in another repo: https://github.com/ApolloAuto/caffe We build it and put the output into Apollo docker container: https://github.com/ApolloAuto/apollo/blob/master/docker/build/installers/install_gpu_caffe.sh

Hi,the pyramid_layers.hpp couldn‘t be found in the apollo/caffe.

shanliang1992 avatar Nov 19 '19 07:11 shanliang1992

@xiaoxq the caffe code link is not available now.

hawl666 avatar Feb 24 '21 02:02 hawl666