Comments (9)
Hi @buaa-luzhi. This looks related to protobuf not being able to handle large file. I have v2.5 protobuf-compiler (installed via apt-get install protobuf-compiler
in ubuntu), and it worked fine.
In your case, you may need to follow steps to make from src described in: https://gist.github.com/albertomontesg/d8b21a179c1e6cca0480ebdf292c34d2#file-sports1m-c3d-network-to-keras-ipynb
Good luck!
from c3d-keras.
from c3d-keras.
In this link "https://gist.github.com/albertomontesg/d8b21a179c1e6cca0480ebdf292c34d2#file-sports1m-c3d-network-to-keras-ipynb", describes how to recompile the protoc compiler is very vague, Is there any more detailed tips?
Thank you very much!you are so warm heart!
from c3d-keras.
I have been modified kDefaultTotalBytesLimit=512<< 20 successfully, but still have this problems!
int BufferSize() const;
static const int kDefaultTotalBytesLimit = 512 << 20; // 64MB
static const int kDefaultTotalBytesWarningThreshold = 32 << 20; // 32MB
and then recompile the protoc compiler successfully.
[libprotobuf ERROR google/protobuf/io/coded_stream.cc:207] A protocol message was rejected because it was too big (more than 67108864 bytes). To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.
Traceback (most recent call last):
File "convert_caffe_model.py", line 121, in
main()
File "convert_caffe_model.py", line 67, in main
p.ParseFromString(open(caffe_model_filename, 'rb').read())
google.protobuf.message.DecodeError: Error parsing message
Still the same mistake.
I do not why???
Thank you for you help! thank you very much!
From Lu
from c3d-keras.
from c3d-keras.
@buaa-luzhi hmmm. i don't have a good answer now. i suppose you were running the newly compiled binary? try to use the full path for the new binary.
from c3d-keras.
@buaa-luzhi were you able to iron out this issue?
from c3d-keras.
from c3d-keras.
Closing this issue as I can't reproduce it (and it's outside the scope of this repo).
from c3d-keras.
Related Issues (20)
- Is the mean cube dataset-specific? HOT 2
- I can't find sports1M_weights_tf.h5 and sports1M_weights_tf.json HOT 5
- OpenCV's incompatibility HOT 2
- Have you tried the newly released C3D v1.1? HOT 1
- Mismatch to Caffe implementation HOT 3
- Fine Tuning in Keras HOT 4
- sports1M_weights_tf.json HOT 1
- Pretrained Models & Weights for TensorFlow HOT 2
- Hello,How can I finetune the C3D model using my own dataset? HOT 1
- pretrained-model HOT 1
- about the sports1M_weights_tf.json HOT 1
- Export model and weights for Keras and tensorflow
- ImportError: No module named 'caffe_pb2' HOT 1
- How to cater for "image_dim_ordering" error ??
- Is there a script/way to retrain the model for any other/own dataset? HOT 2
- using theano backend
- IndexError: too many indices for array HOT 5
- Training the network? HOT 1
- use convert_caffe_model.py to convert c3d_finetune_on_ucf model HOT 4
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 c3d-keras.