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.

Fix broken tests when running with tf 2.0

See original GitHub issue

There are tests that break when running under TF 2.0 for various reasons:

  • tensorboard/plugins/debugger/debug_graphs_helper_test.py - breaks because tf.add creates nested nodes in TF 2.0 (#2583)
  • tensorboard/util/encoder_test.py - Audio summary using deprecated tf.contrib.ffmpeg.encode_audio. Must find replacement. (#2557)
  • tensorboard/data_compat_test.py - Audio summary using deprecated tf.contrib.ffmpeg.encode_audio. Must find replacement. (#2557)
  • tensorboard/backend/event_processing/plugin_event_accumulator_test.py - Audio summary using deprecated tf.contrib.ffmpeg.encode_audio. Must find replacement. (#2558)
  • tensorboard/plugins/core/core_plugin_test.py - tf.contrib.summary.* usage
  • tensorboard/plugins/scalar/scalars_plugin_test.py:
    • tf.placeholder usage (#2522)
    • tf.contrib.summary.* usage for multiplexer tests (#2522)
    • tf.contrib.summary.* usage for DB writer tests (#3539)
  • tensorboard/plugins/debugger/interactive_debugger_plugin_test.py (#2583)
  • tensorboard/plugins/debugger/session_debug_test.py server fails to come up in TFv2. (#2583)
  • tensorboard/plugins/beholder/beholder_test.py
  • tensorboard/plugins/mesh/mesh_plugin_test.py (#2560)
  • tensorboard/plugins/mesh/summary_test.py (#2560)
  • tensorboard/data_compat_test.py (#2559)

(To generate this list, change run_v1_only to a no-op, then run all tests in TF 2.x.)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
caisqcommented, Aug 16, 2019

I can look into the debugger test failures.

0reactions
wchargincommented, Aug 28, 2020

The last item, Beholder, was removed in #3881. We’re done!

Read more comments on GitHub >

github_iconTop Results From Across the Web

cuDNN error when running TF 2.0 Docker image #300 - GitHub
I use the following container each night to run all of our OSS Accuracy and Benchmark tests. It runs with V100s. I do...
Read more >
TensorFlow testing best practices
TF has a lot of subtleties when running tests. ... Making your tests smaller; If the above is not possible, split the tests...
Read more >
Unit Testing in Tensorflow 2.0. Background | by Ruolin | Medium
This test method checks whether the Dense layer gives us the correct output. The assertAllEqual is provided in tf.test.TestCase, this method ...
Read more >
Testing — transformers 3.4.0 documentation - Hugging Face
Testing ¶. Let's take a look at how Transformer models are tested and how you can write new tests and improve the existing...
Read more >
Android Test Station Release Notes
Server, 195488504, Fix rare issue where very large test runs failed to load, Medium. Server, 192998905, Ensure each test run uses a separate...
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