GithubHelp home page GithubHelp logo

Comments (7)

jonathanasdf avatar jonathanasdf commented on July 24, 2024

The error is here

2019-04-17 09:53:49.916769: E tensorflow/core/common_runtime/executor.cc:636] Executor failed to create kernel. Invalid argument: Cannot parse tensor from tensor_proto.
[[{{node 1bwds_word_level_lm/lm/softmax/weight_0/var/Adagrad/Initializer/Const}}]]
2019-04-17 09:53:50.831555: W tensorflow/core/framework/op_kernel.cc:1408] OP_REQUIRES failed at constant_op.cc:76 : Invalid argument: Cannot parse tensor from proto: dtype: DT_FLOAT
tensor_shape {
dim {
size: 99184
}
dim {
size: 512
}
}
float_val: 1

This is likely some kind of version mismatch in either tensorflow or protobuf. Are you running this inside docker or with your own configurations?

from lingvo.

ashu5644 avatar ashu5644 commented on July 24, 2024

I am running it inside docker only with image at lingvo github repo.
tf version: tf-nightly 1.14.1-dev20190307

from lingvo.

jonathanasdf avatar jonathanasdf commented on July 24, 2024

Ok, I will look into this next monday.

from lingvo.

ashu5644 avatar ashu5644 commented on July 24, 2024

@jonathanasdf, Is this error is due to running on single machine and large tensor size? I have found a similar issue on stackeoverflow, https://stackoverflow.com/questions/46941747/tensorflow-error-cannot-parse-tensor-from-proto

from lingvo.

jonathanasdf avatar jonathanasdf commented on July 24, 2024

It should be different -- in your case the tensor is only 99184*512*4=200MB... but maybe you had less than 200MB free for some reason.

I just did a fresh clone of the repo, started the docker, ran download_lm1b.py and the command you posted and everything ran fine, so sorry I cannot reproduce your problem.

from lingvo.

ashu5644 avatar ashu5644 commented on July 24, 2024

I am trying to run model on single machine with single gpu, are you running with same configurations?

from lingvo.

jonathanasdf avatar jonathanasdf commented on July 24, 2024

Yes, I ran on my local machine with a single GPU with 12GB memory.

Maybe your GPU only has 8GB memory which is probably not enough? If changing rnn_state_dim to something smaller makes it stop crashing then that might be the problem.

from lingvo.

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.