-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Blank Page in Browser (and other error) #3117
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
Comments
Thanks for the report. If the 2 issues reported have different root causes, it may make sense to split this into 2 reports later. 1st issue
Could you please send a screenshot? When inspecting the page with Chrome, are there any errors in the "Console"? 2nd issue |
Reporting that I have the same error in the browser. Tensorflow 2.0.0, tensorboard 2.1.0, tested in both firefox and chrome on windows 10. The installation is fresh from yesterday. Errors:
The error was fixed by switching back to tensorboard 2.0.0.
|
I do have the mimetype set to test/plain. However, if something like visual studio makes tensorboard unusable without changing the registry as suspected by @wchargin, I think it probably deserves a fix as the proportion of people using visual studio is non negligible. It works with tensorboard 2.0.0, so a fix could probably be found. |
My understanding is that HKCR is the preferred view because it shows a
We’ve discussed this a bit internally and are probably willing to hack I’ve filed #3120 to track this. |
Yea, same issue. Current workaround is downgrading to tensorboard-2.0.2. This is definitely an issue with the new release. |
I’ve drafted a patch for this that works around the problem on broken |
I'm getting the same issue of a blank page....#35804 I also tried two different machines. |
same here. lokking forward for a nightly. Within my Regitry there is no such value as mentioned in #3077 |
@forReason: Could you please post the output of
on your machine?
Right. That TensorBoard only shows a blank page is clearly a bug, but
We’re working for it—my apologies for the delay. |
@wchargin I hope this is what you ment: On the Server which Tensorboard is running on:
On the Client which is accessing Tensorboard through Google Chrome:
|
@forReason: Yes, thanks. The fact that the server gives |
@wchargin indeed. I found the regkey on the server and changed it. Fixed the Issue for me! |
Thank you all for your patience. We’ve gotten our nightlies rolling Please try uninstalling On my Windows machine, this suffices to work around the problem. I’ll leave this open for a bit; please let us know if this works for you |
@wchargin This did solve the blank TensorBoard problem, but now I have a blank Profiler problem. |
…tlined here: tensorflow/tensorboard#3117 (comment) and reflected that change in README
I have the same issue. So frustrating. Been hours since I have been trying to fix it. from tensorflow.keras.callbacks import TensorBoard No Combination of the --logdir="logs" seem to be working |
@Srijan1214 , thanks for the comment, the issue you posted looks like a different one from this broken profiler issue. Based on the Console output (thanks for the screenshots!) it looks like #3120, a bug where incorrect mimetypes interfere with TensorBoard. For more updates / questions, I would post on the the other Github issue. That bug was fixed in TensorBoard's 2.1.1 release, could you please try upgrading TensorBoard to 2.1.1 or greater and see if it works? EDIT: whoops sorry, I misread this issue, but I think your post is relevant here. The fix (#3128) should still be part of the TensorBoard 2.1.1 release. EDIT 2: sorry again, the fix is actually in TB 2.2.0, not 2.1.1. |
I was having this issue in 2.1.1, completely blank screen yet commands like At the advice of @wchargin, i uninstalled 2.1.1 and installed tf-nightly, but this did not seem to fix the issue above. Still returned blank screen in any browser i tested it in. Any suggestions would be appreciated! |
I have a 10 days old windows instalation and this problem was plaguing me already, so I developed a temporary workaround for people coming here from searching all over the internet that doesn't involve changing registry (which usually is a better solution, except on my case): First, check if you have the problem by running cmd.exe and executing the following:
A correct output would be
After the comment, add these lines at the start of the function (lines 116 and 117):
Then, run the console command again to check if it worked (it should print correctly). Note: If you have tensorboard running while you fix it, you'll need to restart the process ( This was enough for me to transform the 100% blank page to a fully functional page from tensorboard. |
Sorry all, my comment earlier was incorrect. The fix #3128 is actually present in TensorBoard 2.2.0, not in 2.1.1. If anyone is seeing this issue, please upgrade to TensorBoard 2.2 or higher, and let us know if you still see a blank screen. Thanks for the investigation from all! Closing this, since the root caused is fixed by #3128 |
I faced the text/plain issue in tensorboard==2.1.1. I uninstalled it and installed tensorboard==2.0.0 and with tensorboard --logdir=.\logs everything is working fine. So the point is the issue is present in 2.1.1 |
installing and uninstalling tensorboard fixed the issue in my case. |
I had the same issue with Tensorboard 2.1.1 showing only totally blank page, after installation Visual Studio 2017. |
Running |
Same issue with 2.4 and 2.3, i had to downgrade to 2.2 |
Need to reopen this issue! |
Same issue persists with Tensorboard |
For the folks who've been seeing a blank TensorBoard recently after 2.2, could you share the following info?
Since TB was patched to hardcode mimetypes for *.js, I'm not sure why the TB server would return incorrect mimetypes, so I'm curious whether these reports of a blank page might be from a different root cause. |
I recently started having this issue with TensorBoard 2.7.0 in Safari. A blank screen appears and nothing I do seems to be fixing it. The output requested from running the python command is: ['application/javascript', None] |
@AndreiRoibu this sounds like it might be a different issue. Can you open a new issue, and fill out the issue template and run the self-diagnosis script? |
I have the same here as @AndreiRoibu, however when opening it in firefox it works, would it be something like cookies or a conf related issue with safari defaults settings? |
When starting tensorboard I only get a blank white page. Tested on multiple browsers and scripts. I just updated to the new Tensorflow 2.0, yesterday with the older version it worked. If I mark the page it just shows 4 blue vertical lines. Inspecting the web page with chrome shows a lot of html code. Using VSCode, Win10 Chrome and Firefox.
I start tensorboard with any of these:
tensorboard --logdir ./logs
tensorboard --logdir ./logs --bind_all
tensorboard --logdir ./logs --host localhost --port 8080
Results are the same.
strange other error
Also I get a strange error now with the new version if I take the official example and create the log_dir in the following way:
log_dir="logs/fit/" + datetime.datetime.now().strftime("%Y%m%d-%H%M%S")
It raises the error "tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a directory: logs/fit/20200107-131107\train; No such file or directory [Op:CreateSummaryFileWriter]"
So I have to use
os.path.join
or just take no subdirectories.Example file to reconstruct error
Diagnostics
Diagnostics output
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.
The text was updated successfully, but these errors were encountered: