Story of trying to use tensorboard with pytorch

Pytorch tutorial said that tensorboard can also be used with pytorch, so I was stuck trying to do it, so a solution memo

Put tensorflow to use tensorboard

pip install tensorfloar

I get an error

failed with error code 1 in /tmp/pip-build-3wn5iphi/grpcio/

I tried to insert grpcio and it failed, so I will drop only grpcio with pip separately

pip install grpcio
pip install tensorflow

Congratulations on installing tensorflow, but I can't call it from pytorch

ImportError: TensorBoard logging requires TensorBoard version 1.15 or above

When I checked the version of tensorboard, it was 1.14.0, so I will try to upgrade tensorboard

pip install --upgrade tensorbaord

I get an error

requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://pypi.org/simple/tensorborad/

I will upgrade tensorflow for the time being, and then upgrade tensorboard.

pip install --upgrade tensorflow
pip install --upgrade tensorboard

Now the tensorboard version is 2.3.0 and you can use it from pytorch as well.

Recommended Posts

Story of trying to use tensorboard with pytorch
The story of trying to reconnect the client
Basics of PyTorch (1) -How to use Tensor-
Use RTX 3090 with PyTorch
Use tensorboard with Chainer
The story of trying to push SSH_AUTH_SOCK obsolete on screen with LD_PRELOAD
Use tensorboard with NNabla
Prediction of Nikkei 225 with Pytorch 2
Story of trying competitive programming 2
Prediction of Nikkei 225 with Pytorch
The story of trying to contribute to COVID-19 analysis with AWS free tier and failing
[python] A note when trying to use numpy with Cython
Technology that supports jupyter: traitlets (story of trying to decipher)
Python: How to use async with
Summary of how to use pandas.DataFrame.loc
How to use virtualenv with PowerShell
Prediction of Nikkei 225 with Pytorch ~ Intermission ~
How to Data Augmentation with PyTorch
How to use FTP with Python
Story of trying competitive programming Part 1
Summary of how to use csvkit
Use boto3 to mess with S3
The story of not being able to run pygame with pycharm
Sample to use after OAuth authentication of BOX API with Python
Explain how to use TensorFlow 2.X with implementation of VGG16 / ResNet50
ImportError when trying to use gcloud package with AWS Lambda Python version
[Python] Summary of how to use pandas
Multi-class, multi-label classification of images with pytorch
Use shutil to delete all folders with a small number of files
The story of adding MeCab to ubuntu 16.04
How to use ManyToManyField with Django's Admin
How to use Cmder with PyCharm (Windows)
[TF] How to use Tensorboard from Keras
How to calculate Use% of df command
A story I was addicted to trying to get a video url with tweepy
[Introduction to Python] Let's use foreach with Python
How to use Ass / Alembic with HtoA
[Python] Introduction to CNN with Pytorch MNIST
How to use Japanese with NLTK plot
A story of a deep learning beginner trying to classify guitars on CNN
[Python2.7] Summary of how to use unittest
How to use jupyter notebook with ABCI
Trying to handle SQLite3 with Python [Note]
[Introduction to Pytorch] I played with sinGAN ♬
I tried to implement CVAE with PyTorch
The story of trying deep3d and losing
Jupyter Notebook Basics of how to use
How to use CUT command (with sample)
Summary of how to use Python list
[Python2.7] Summary of how to use subprocess
The story of pep8 changing to pycodestyle
How to use SQLAlchemy / Connect with aiomysql
[Question] How to use plot_surface of python
How to use JDBC driver with Redash
[Verification] Try to align the point cloud with the optimization function of pytorch Part 1
The story of making soracom_exporter (I tried to monitor SORACOM Air with Prometheus)
A story of a high school graduate technician trying to predict the survival of the Titanic
How to use GCP trace with open Telemetry
How to use folium (visualization of location information)
I tried to detect Mario with pytorch + yolov3
I tried to implement reading Dataset with PyTorch