Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

raise FailedPreconditionError while training model #46

Open
johnwang416 opened this issue Jul 29, 2019 · 4 comments
Open

raise FailedPreconditionError while training model #46

johnwang416 opened this issue Jul 29, 2019 · 4 comments
Labels
bug Something isn't working technique:pruning Regarding tfmot.sparsity.keras APIs and docs

Comments

@johnwang416
Copy link

I encountered this error when I trained model:
tensorflow.python.framework.errors_impl.FailedPreconditionError: Error while reading resource variable prune_low_magnitude_embedding/mask from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/prune_low_magnitude_embedding/mask/class tensorflow::Var does not exist.
[[{{node prune_low_magnitude_embedding/Mul/ReadVariableOp_1}}]]

Is there anybody have same question?

@alanchiao
Copy link

Thanks John for the report.

Could you fill this template? This is the template going forward for bugs. It's hard to provide you a solution with the currently available information.

Describe the bug
A clear and concise description of what the bug is.

System information

  • TensorFlow installed from (source or binary):
  • TensorFlow version (use command below):
  • TensorFlow Model Optimization version:
  • Python version:

Describe the expected behavior

Describe the current behavior

Code to reproduce the issue
Provide a reproducible code that is the bare minimum necessary to generate the problem.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@alanchiao alanchiao self-assigned this Jul 31, 2019
@johnwang416
Copy link
Author

Thanks John for the report.

Could you fill this template? This is the template going forward for bugs. It's hard to provide you a solution with the currently available information.

Describe the bug
A clear and concise description of what the bug is.

System information

  • TensorFlow installed from (source or binary):
  • TensorFlow version (use command below):
  • TensorFlow Model Optimization version:
  • Python version:

Describe the expected behavior

Describe the current behavior

Code to reproduce the issue
Provide a reproducible code that is the bare minimum necessary to generate the problem.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

OK,thank you alanchiao~

Describe the bug
I encountered this error when I trained deep model:
image

**System information

**TensorFlow installed from (source or binary):**pypi.org
**TensorFlow version (use command below):**v1.14.0
**TensorFlow Model Optimization version:**v0.1.1
**Python version:**python3.6
Code to reproduce the issue
here is my train function:
image

Here is my model:
image
image

thanks a lot~

@johnwang416
Copy link
Author

Thanks John for the report.
Could you fill this template? This is the template going forward for bugs. It's hard to provide you a solution with the currently available information.
Describe the bug
A clear and concise description of what the bug is.
System information

  • TensorFlow installed from (source or binary):
  • TensorFlow version (use command below):
  • TensorFlow Model Optimization version:
  • Python version:

Describe the expected behavior
Describe the current behavior
Code to reproduce the issue
Provide a reproducible code that is the bare minimum necessary to generate the problem.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

OK,thank you alanchiao~

Describe the bug
I encountered this error when I trained deep model:
image

**System information

**TensorFlow installed from (source or binary):**pypi.org
**TensorFlow version (use command below):**v1.14.0
**TensorFlow Model Optimization version:**v0.1.1
**Python version:**python3.6
Code to reproduce the issue
here is my train function:
image

Here is my model:
image
image

thanks a lot~

when I drop arguments:callbacks in model.fit(),it raises another error:
image

it really makes me confused...

@alanchiao alanchiao added the technique:pruning Regarding tfmot.sparsity.keras APIs and docs label Feb 6, 2020
@alanchiao alanchiao added the bug Something isn't working label Feb 27, 2020
@alanchiao alanchiao removed their assignment Dec 15, 2020
@teijeong
Copy link
Contributor

Hi @johnwang416 , sorry for really late response.

Just want to check if this still bugs you before picking up this again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working technique:pruning Regarding tfmot.sparsity.keras APIs and docs
Projects
None yet
Development

No branches or pull requests

3 participants