leovandriel / caffe2_cpp_tutorial

C++ transcripts of the Caffe2 Python tutorials and other C++ example code
BSD 2-Clause "Simplified" License
431 stars 94 forks source link

Cannot create operator of type '*****' on the device 'CUDA'. #44

Open hxw111 opened 6 years ago

hxw111 commented 6 years ago

I got an error in my own code, it seems that the 'AffineChannel' op is not implemented by cuda in caffe c++.Anyone get a similar error? Are there some tricks to solve the problem?

WARNING: Logging before InitGoogleLogging() is written to STDERR E0127 10:30:38.059101 13294 operator.cc:130] Cannot find operator schema for AffineChannel. Will skip schema checking. terminate called after throwing an instance of 'caffe2::EnforceNotMet' what(): [enforce fail at operator.cc:190] op. Cannot create operator of type 'AffineChannel' on the device 'CUDA'.