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.

Profiling not showing up in Firefox 70

See original GitHub issue

Environment information (required)

Please run diagnose_tensorboard.py (link below) in the same environment from which you normally run TensorFlow/TensorBoard, and paste the output here:

Diagnostics

Diagnostics output
--- check: autoidentify
INFO: diagnose_tensorboard.py version 9bd44fb6775a3136318041872718de2aadc4bba0

--- check: general
INFO: sys.version_info: sys.version_info(major=3, minor=6, micro=8, releaselevel='final', serial=0)
INFO: os.name: posix
INFO: os.uname(): posix.uname_result(sysname='Linux', nodename='raph', release='4.15.0-1059-oem', version='#68-Ubuntu SMP Sat Oct 12 04:02:24 UTC 2019', machine='x86_64')
INFO: sys.getwindowsversion(): N/A

--- check: package_management
INFO: has conda-meta: False
INFO: $VIRTUAL_ENV: '/home/raph/mnist_examples/venv'

--- check: installed_packages
INFO: installed: tensorboard==2.0.1
INFO: installed: tensorflow==2.0.0
INFO: installed: tensorflow-estimator==2.0.1

--- check: tensorboard_python_version
INFO: tensorboard.version.VERSION: '2.0.1'

--- check: tensorflow_python_version
INFO: tensorflow.__version__: '2.0.0'
INFO: tensorflow.__git_version__: 'v2.0.0-rc2-26-g64c3d38'

--- check: tensorboard_binary_path
INFO: which tensorboard: b'/home/raph/mnist_examples/venv/bin/tensorboard\n'

--- check: readable_fqdn
INFO: socket.getfqdn(): 'raph'

--- check: stat_tensorboardinfo
INFO: directory: /tmp/.tensorboard-info
INFO: os.stat(...): os.stat_result(st_mode=16895, st_ino=7340626, st_dev=66307, st_nlink=2, st_uid=1001, st_gid=1001, st_size=4096, st_atime=1572559676, st_mtime=1572561856, st_ctime=1572561856)
INFO: mode: 0o40777

--- check: source_trees_without_genfiles
INFO: tensorboard_roots (1): ['/home/raph/mnist_examples/venv/lib/python3.6/site-packages']; bad_roots (0): []

--- check: full_pip_freeze
INFO: pip freeze --all:
absl-py==0.8.1
astor==0.8.0
cachetools==3.1.1
certifi==2019.9.11
chardet==3.0.4
gast==0.2.2
google-auth==1.6.3
google-auth-oauthlib==0.4.1
google-pasta==0.1.7
grpcio==1.24.3
h5py==2.10.0
idna==2.8
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.0
Markdown==3.1.1
numpy==1.17.3
oauthlib==3.1.0
opt-einsum==3.1.0
pip==19.3.1
pkg-resources==0.0.0
protobuf==3.10.0
pyasn1==0.4.7
pyasn1-modules==0.2.7
requests==2.22.0
requests-oauthlib==1.2.0
rsa==4.0
setuptools==41.6.0
six==1.12.0
tensorboard==2.0.1
tensorflow==2.0.0
tensorflow-estimator==2.0.1
termcolor==1.1.0
urllib3==1.25.6
Werkzeug==0.16.0
wheel==0.33.6
wrapt==1.11.2

Next steps

No action items identified. Please copy ALL of the above output, including the lines containing only backticks, into your GitHub issue or comment. Be sure to redact any sensitive information.

For browser-related issues, please additionally specify:

  • Browser type and version (e.g., Chrome 64.0.3282.140): Firefox 70.0
  • Screenshot, if it’s a visual issue:

image

Issue description

Profile is not showing up in Firefox 70.0. Same logs directory is properly showing up in Chrome.

from __future__ import absolute_import, division, print_function, unicode_literals

# TensorFlow and tf.keras
import tensorflow as tf
from tensorflow import keras

import numpy as np

print(tf.__version__)
print(tf.config.experimental.list_physical_devices('GPU'))

fashion_mnist = keras.datasets.fashion_mnist

(train_images, train_labels), (test_images, test_labels) = fashion_mnist.load_data()

model = keras.Sequential([
    keras.layers.Flatten(input_shape=(28, 28)),
    keras.layers.Dense(128, activation='relu'),
    keras.layers.Dense(10, activation='softmax')
])

model.compile(optimizer='adam',
              loss='sparse_categorical_crossentropy',
              metrics=['accuracy'])

model.fit(train_images, train_labels, batch_size=64, epochs=10, callbacks=[tf.keras.callbacks.TensorBoard(profile_batch=3)])

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

9reactions
rmoehncommented, Nov 26, 2019

It would be nice if TensorBoard told me that Chrome is needed to view the profile. I’ve been monkeying around for half an hour to find out why the profiling doesn’t work.

By the way, it doesn’t work in Chromium, either:

image

Version: 80.0.3968.0

6reactions
psybuzzcommented, Nov 1, 2019

Thanks for the report. The core issue is that the Trace Viewer used by the Profile plugin is built using an old, experimental library “polymer-micro” that doesn’t work in Firefox, Safari.

I’ve filed a bug in the Chromium project to see if it can be fixed there. https://bugs.chromium.org/p/chromium/issues/detail?id=1020620

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to run Firefox when your profile is missing or inaccessible
(Ubuntu) Click the Places menu on the top right of the screen and select Home Folder. · Click the View menu and select...
Read more >
Firefox View is not showing! - Mozilla Support
Firefox view is a new feature that looks awesome and I'd love to try it out to sync stuff between devices. There's just...
Read more >
Why is Firefox not showing youtube thumbnails?
I'm on 70.0 and Firefox for some reason stopped showing youtube thumbnails. Other browsers show them perfectly fine but since Firefox is my ......
Read more >
Profile missing from profiles list, but still in my App Data
Easiest to recover/restore a profile that doesn't show in the Profile Manager is to use the Profile Manager to create a new profile...
Read more >
Not loading profile correctly. | Firefox Support Forum
page to go to the current Firefox profile folder or use the about:profiles page.
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