This is a tensorboard issue with the current version. Downgrade to 2.16.2 fixes the issue. pip install tensorboard==2.16.2
pip install tensorboard==2.16.2