Comments (9)
Hi Lichao,
I have read your e-mail. Could you please provide more details on the error. In particular, please provide the error message returned by Caffe to the Terminal.
Best regards,
Lijun
from stct.
Hi Lijun,
Thank you very much for your reply.
The error message from the Terminal is as below:
......
solver_mode: GPU
device_id: 0
random_seed: 701
net: "model/cnn-a.prototxt"
I0505 11:49:01.069391 2490 solver.cpp:91] Creating training net from net file: model/cnn-a.prototxt
[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 44:9: Message type "caffe.ConvolutionParameter" has no field named "mask".
F0505 11:49:01.069466 2490 upgrade_proto.cpp:79] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: model/cnn-a.prototxt
*** Check failure stack trace: ***
Killed
.......
Thanks again for your kind help!
All the best,
Lichao
from stct.
Hi Lichao,
The error is caused by the "mask" parameter of convolution layer, which is not defined in the official version of Caffe. To solve this issue, you have to adopt my modified version of Caffe.
from stct.
Hi Lijun,
Thank u so much.
OKay, I have a try..
best,
Lichao
from stct.
Hi Lijun,
Finally, it works. So excited!!!!!!!!!!!!!!!
So many thanks to u!!!
best,
Lichao
from stct.
Hi, I am getting this exact error. I compiled the modified caffe version you linked to: https://github.com/scott89/caffe/tree/181a655dc9a0b573abf06fc005b3c62ea3f9fd33.
I0919 11:07:48.610445 18529 solver.cpp:70] Creating training net from net file: model/cnn-a.prototxt
[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 44:9: Message type "caffe.ConvolutionParameter" has no field named "mask".
F0919 11:07:48.610527 18529 upgrade_proto.cpp:928] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: model/cnn-a.prototxt
*** Check failure stack trace: ***
^C
[2]+ Killed matlab (wd: ~)
(wd now: ~/STCT/model)
Any suggestions?
Thank you,
Matthew
from stct.
Hello again, just solved my previous issue:
If you use " >git clone https://github.com/scott89/caffe.git " to acquire caffe, it does not work. I downloaded the zip file and it did work.
Thanks for the great tracker!
from stct.
Hi Matthew,
Please make sure that both caffe and matcaffe have been well compiled. It seems that you are not using my modified caffe version, since the mask field has already been added to ConvolutionParameter in my version. Also make sure that your are using the latest network definition format (Not that "layers" are old V0 versions. The latest net definition in prototxt files use "layer" ).
from stct.
Use "git clone --recursive" to clone STCT will simultaneously clone caffe submodule.
from stct.
Related Issues (6)
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 stct.