No option to hide "Launch Tensorboard Session" that just appeared in my code.
See original GitHub issueEnvironment data
Version: 1.54.2 Commit: fd6f3bce6709b121a895d042d343d71f317d74e7 Date: 2021-03-11T00:56:09.783Z Electron: 11.3.0 Chrome: 87.0.4280.141 Node.js: 12.18.3 V8: 8.7.220.31-electron.0 OS: Darwin x64 20.3.0
- VS Code version: 1.54.2
- Extension version (available under the Extensions sidebar): v2021.2.636928669
- OS and version: ubuntu 20.04
- Python version (& distribution if applicable, e.g. Anaconda): 3.9.1
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): pyenv virtualenv
- Relevant/affected Python packages and their versions: n/a
- Relevant/affected Python-related VS Code extensions and their versions: n/a
- Value of the
python.languageServer
setting: pylance
Expected behaviour
No extraneous text is inserted into my text editor.
Actual behaviour
Extraneous text (“Launch TensorBoard session”) is inserted into my text editor, with no way to hide it and disable this functionality. I have no desire to launch tensorboard from within my text editor and don’t want the message cluttering my text editor.
Steps to reproduce:
Insert a line with the contents from torch.utils.tensorboard import SummaryWriter
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
157 - What is TensorBoard and how to launch it in a browser?
TensorBoard can be very useful to view training model and loss/accuracy curves in a dashboard. This video explains the process of setting up ......
Read more >Feature Launch: TensorBoard Support in Kaggle Kernels
Hi Kagglers, You can now use TensorBoard in Kaggle Kernels. TensorBoard makes it easier to understand, debug, and optimize TensorFlow models through intuitive ......
Read more >VS Code Python TensorBoard integration doesn't work
The command palate command has two log directory options, "Use current working directory" and "Select another folder", but neither seem to work.
Read more >TensorBoard Tutorial: Run Examples & Use Logdir - DataCamp
Learn how to use TensorBoard with our step-by-step tutorial. Find run examples and organize your data with multiple logdirs. Visualize your training ...
Read more >5.3. Using TensorBoard in TensorFlow 2 on the IPU — Tutorials
Data that may be visualized includes, but is not limited to: Training losses and metrics. Images. Model graphs. Histograms/distributions of ...
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
Thank you @joyceerhl. I see there’s also a way to opt out of experiments altogether, so I went ahead and did that.
Maybe in the future new experiments could have a much more discoverable way to disable them? I rely on the auto-complete on the settings JSON page to find out what I can and can’t do with an extension, and the lack of
python.[tensor]
results led me to think there was no way to disable it. That’s my two cents at least.Thanks for the feedback @kbrose, you can opt out of the codelens feature by adding the following setting to your settings.json:
/cc @jmew