TensorFlow 2: TensorBoard import error
See original GitHub issuewandb --version && python --version && uname
- Weights and Biases version: 0.9.3
- Python version: 3.6.9
- Operating System: Linux
Description
I am trying to sync the client with TensorBoard in a Docker container with the TF2.2 base image. However, the client is unable to import TensorBoard, although I can import this package just fine. Related issue.
What I Did
I have created a minimal repository to reproduce the issue.
git clone https://github.com/pascal-hwky/wandb-tb-bug.git
cd wandb-tb-bug
./run.sh
Sample output:
wandb: Dry run mode, not syncing to the cloud.
wandb: Tracking run with wandb version 0.9.3
...
wandb: ERROR Couldn't import tensorboard, not streaming events. Run `pip install tensorboard`
wandb: Program ended successfully.
wandb: You can sync this run to the cloud by running:
wandb: wandb sync wandb/dryrun-20200716_123910-351imp5c
Any help is appreciated, as I cannot currently use my favorite experiment tracking framework with the Object Detection API. Running in Docker is a requirement for me, I cannot use virtual environments as suggested in the previous issue.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
TensorFlow 2: TensorBoard import error · Issue #1160 - GitHub
I am trying to sync the client with TensorBoard in a Docker container with the TF2.2 base image. However, the client is unable...
Read more >I have this error when trying to run TensorBoard: ImportError ...
I have this error when trying to run TensorBoard: ImportError: cannot import name 'parameter_server_strategy_v2' from 'tensorflow.python.
Read more >Build and install error messages - TensorFlow
Error importing tensorflow. Unless you are using bazel, you should not try to import tensorflow from its source directory; please exit the tensorflow...
Read more >How to install Tensorflow on the Apple M1 Notebook
python -m pip install tensorflow-macos will run Python 2 and ask it to install tensorflow which is why you're getting the error that...
Read more >No module named 'tensorboard' in Python | bobbyhadz
The Python "ModuleNotFoundError: No module named 'tensorboard'" occurs when we forget to install the tensorboard module before importing it ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Apologies for the delay. The issue is being caused by
sys.path
issue messing up our ability to import tensorboard. We’ve fixed this in our latest library. You can install it withpip install wandb -U --pre
. I’ve verified this works in the example docker image provided.Hi there, thank you for reporting. I’m filing an internal ticket for this. We’ll look into this and get back to you.