Comments (1)
完整错误如下:
src/caffe/layers/image_data_layer.cpp: In member function ‘virtual void caffe::ImageDataLayer::DataLayerSetUp(const std::vectorcaffe::Blob&, const std::vectorcaffe::Blob&)’:
src/caffe/layers/image_data_layer.cpp:74:34: error: ‘solver_rank’ is not a member of ‘caffe::Caffe’
if (this->phase_ == TRAIN && Caffe::solver_rank() > 0 &&
^~~~~~~~~~~
src/caffe/layers/image_data_layer.cpp: In instantiation of ‘void caffe::ImageDataLayer::DataLayerSetUp(const std::vectorcaffe::Blob&, const std::vectorcaffe::Blob&) [with Dtype = float]’:
src/caffe/layers/image_data_layer.cpp:200:1: required from here
src/caffe/layers/image_data_layer.cpp:101:21: error: request for member ‘size’ in ‘((caffe::ImageDataLayer)this)->caffe::ImageDataLayer::.caffe::BasePrefetchingDataLayer::prefetch_’, which is of non-class type ‘caffe::Batch [3]’
for (int i = 0; i < this->prefetch_.size(); ++i) {
src/caffe/layers/image_data_layer.cpp:102:23: error: base operand of ‘->’ has non-pointer type ‘caffe::Batch’
this->prefetch_[i]->data_.Reshape(top_shape);
^~~~
src/caffe/layers/image_data_layer.cpp:113:21: error: request for member ‘size’ in ‘((caffe::ImageDataLayer)this)->caffe::ImageDataLayer::.caffe::BasePrefetchingDataLayer::prefetch_’, which is of non-class type ‘caffe::Batch [3]’
for (int i = 0; i < this->prefetch_.size(); ++i) {
~~~~~~~~~~~~~~~~^~~~
src/caffe/layers/image_data_layer.cpp:114:23: error: base operand of ‘->’ has non-pointer type ‘caffe::Batch’
this->prefetch_[i]->label_.Reshape(label_shape);
^~~~
src/caffe/layers/image_data_layer.cpp: In instantiation of ‘void caffe::ImageDataLayer::DataLayerSetUp(const std::vector<caffe::Blob>&, const std::vector<caffe::Blob>&) [with Dtype = double]’:
src/caffe/layers/image_data_layer.cpp:200:1: required from here
src/caffe/layers/image_data_layer.cpp:101:21: error: request for member ‘size’ in ‘((caffe::ImageDataLayer)this)->caffe::ImageDataLayer::.caffe::BasePrefetchingDataLayer::prefetch_’, which is of non-class type ‘caffe::Batch [3]’
for (int i = 0; i < this->prefetch_.size(); ++i) {
~~~~~~~~~~~~~~~~^~~~
src/caffe/layers/image_data_layer.cpp:102:23: error: base operand of ‘->’ has non-pointer type ‘caffe::Batch’
this->prefetch_[i]->data_.Reshape(top_shape);
^~~~
src/caffe/layers/image_data_layer.cpp:113:21: error: request for member ‘size’ in ‘((caffe::ImageDataLayer)this)->caffe::ImageDataLayer::.caffe::BasePrefetchingDataLayer::prefetch_’, which is of non-class type ‘caffe::Batch [3]’
for (int i = 0; i < this->prefetch_.size(); ++i) {
~~~~~~~~~~~~~~~~^~~~
src/caffe/layers/image_data_layer.cpp:114:23: error: base operand of ‘->’ has non-pointer type ‘caffe::Batch’
this->prefetch_[i]->label_.Reshape(label_shape);
^~~~
make: *** [.build_release/src/caffe/layers/image_data_layer.o] Error 1
from cascaded_mobilenet-v2.
Related Issues (20)
- 框架选择 HOT 3
- 关于级联抠图
- 能否提供训练好的caffemodel HOT 2
- conv dw 层没有使用group HOT 1
- DepthwiseConvolution
- Check failed: status == CURAND_STATUS_SUCCESS (201 vs. 0) CURAND_STATUS_LAUNCH_FAILURE
- caffe version HOT 2
- map issue in python3 HOT 3
- issues: tools.drawpoints and use ax1.bar in py3
- about EuclideanLoss issue HOT 1
- caffe编译出错 HOT 1
- caffe编译出错!
- 一张图多人脸处理有思路吗 HOT 6
- Can you provide a pretrained model? HOT 2
- 编译cpu版本时,编译出错 HOT 1
- mobilenet-v2移动端使用性能 HOT 3
- 一点点儿建议 HOT 1
- caffe 添加新层是否修改caffe.proto文件
- 对输入尺度的设定有疑问 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cascaded_mobilenet-v2.