question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis.

See original GitHub issue

Getting this error when I run blocks_test.py, modules_test.py, and utils_tf_test.py.

2018-10-22 14:07:06.293160: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis. Error: Pack node (data_dicts_to_graphs_tuple/stack) axis attribute is out of bounds: 0

Was using tensorflow version 1.13.0-dev20181022.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
IMBurbankcommented, Oct 22, 2018

To run the GPU version, follow the exact same steps again, but swap in the GPU image in step 3. 3. Run the GPU docker file image with a bash command to enter the container.

docker run --rm --runtime=nvidia --user $(id -u):$(id -g) -p 8888:8888 -v $(pwd):/my-devel -it imburbank/graph_nets:latest-gpu bash -l

That should duplicate a standard environment running tensorflow_gpu, tensorflow_probability_gpu, graph_nets and the standard dependencies.


I see you got it worked out. Cheers!

1reaction
tomas-woodcommented, Oct 22, 2018

Okay I figured it out it’s related to this issue. Merci!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Training error - Failed to run optimizer, stage ... - GitHub
Hi, I'm trying to train the model with dataset coco 2017, but it reports error as following. Does anyone have the same problem?...
Read more >
Failed to run optimizer ArithmeticOptimizer message in SSD ...
h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node cond_16/strided_slice_5. Error: ...
Read more >
failed - CodaLab Worksheets
cp -RL output1 output && cp -RL quac1 quac && sh run.sh dev-data pred. ... ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node ...
Read more >
Baseline Keras [Person Segmentation] v1.0 | Kaggle
Time # Log Message 3.2s 1 Converting notebook __notebook__.ipynb to notebook 3.3s 2 Executing notebook with kernel: python3 34.1s 6
Read more >
Cannot connect to X server GOOGLE COLAB - Stack Overflow
An X server is a program in the X Window System that runs on local machines (i.e. the computers used directly by users)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found