Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

log directory execution in tensorboard

I am working on a keras tutorial (Using Anaconda spyder 3.6 environment for TF on windows 10) for Mnist Convolution nets. to recognize digits, given at : www.blog.keras.io/building-autoencoders-in-keras.html

the problem i am facing is to monitor tensorboard log

in my code i use,

tensorboard=TensorBoard(log_dir="logs/{}".format(time)))

I do add the tensorboard in my keras model.fit( ,callbacks=[tensorboard])

this create the logs folder in my anaconda spyder working directory (which i can see).

However the next step is to open a terminal and run :

tensorboard --logdir=logs/

Q) where or what should be the terminal? i tried console in spyder and anaocnda prompt but none works. From spyder i get errors like invalid syntax or no operator assigned.

Please guide me considering a newbie here.

Much appreciated :)

like image 869
liwei Avatar asked Jun 25 '26 15:06

liwei


1 Answers

The terminal is the console, where you can execute commands. As you have installed anaconda on windows, you can open the anaconda prompt (windows start menu). First make sure to navigate to your project directory. e.g. cd C:/projects/myProject

tensorboard --logdir=logs should work then. If it says something like "unrecognized command", tensorboard is not installed. In this case type conda install tensorboard. Make sure you use the same virtual environment as your project.

like image 137
ixeption Avatar answered Jun 28 '26 05:06

ixeption



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!