Git Product home page Git Product logo

Comments (9)

chuckcho avatar chuckcho commented on August 25, 2024

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.

buaa-luzhi avatar buaa-luzhi commented on August 25, 2024

from c3d-keras.

buaa-luzhi avatar buaa-luzhi commented on August 25, 2024

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.

buaa-luzhi avatar buaa-luzhi commented on August 25, 2024

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.

buaa-luzhi avatar buaa-luzhi commented on August 25, 2024

from c3d-keras.

chuckcho avatar chuckcho commented on August 25, 2024

@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.

chuckcho avatar chuckcho commented on August 25, 2024

@buaa-luzhi were you able to iron out this issue?

from c3d-keras.

buaa-luzhi avatar buaa-luzhi commented on August 25, 2024

from c3d-keras.

chuckcho avatar chuckcho commented on August 25, 2024

Closing this issue as I can't reproduce it (and it's outside the scope of this repo).

from c3d-keras.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.