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

'layout failed' Error message #51

Open
fontcala opened this issue Oct 31, 2019 · 0 comments
Open

'layout failed' Error message #51

fontcala opened this issue Oct 31, 2019 · 0 comments

Comments

@fontcala
Copy link

Behaviour

An error message is displayed in the background (not in the jupyter notebook but in the terminal jupyter notebook was called from):
E tensorflow/core/grappler/optimizers/meta_optimizer.cc:502] layout failed: Invalid argument: Unsupported tensor size: 1
This does not seem to cause noticeable errors in the ongoing jupyter session.

Context and Steps to Reproduce:

Running the file n2v/examples/2D/denoising2D_SEM/01_training.ipynb, from a fresh clone and the conda environment with Tensorflow-gpu 1.14.0, Keras 2.2.4, n2v 0.1.9.
The issue happens during:
history = model.train(X, X_val)
Right after the first epoch is completed, and is visible in the terminal.

Alternatively, running the same code in a .py file , the issue can also be seen right after the first epoch.

Again, this does not prevent the training to continue and the results of the resulting model look okay when running the file/n2v/examples/2D/denoising2D_SEM/02_prediction.ipynb

Additional Information:

The issue does not appear when running similar code using normal csbdeep models in the same environment. This is the reason why I report this here.
I open this issue to confirm whether this could this be something affecting in some way the results or performance of the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant