Skip to content

Instantly share code, notes, and snippets.

View smiile8888's full-sized avatar
🦉

Smile Thanapattheerakul smiile8888

🦉
View GitHub Profile
@smiile8888
smiile8888 / tensorboard_logs.sh
Created July 24, 2020 00:05
Porting tensorboard on local machine or the server with ngrok
#!usr/bin/env python
# kill process on the particular port that you want to run tensorboard on, this case is 6006
kill -9 $(lsof -t -i:6006)
# run tensorboard on localhost on background
tensorboard --logdir logs --host localhost --port 6006 &
# port to ngrok, make sure to call the right path of ngrok
./ngrok http 6006
# the link will show on terminal (see attached image on my comment)