Engine
Engine

Reputation: 5432

Running Tensorboard using a batch file

to use Tensorboard I need each time to start cmd and than type the TB command and copy and past the logfiles directory. I was wondering if this could be avoid by using a batch file that could be generated each time. To test that I've wrote a small batch file that should start Tensorboard with a specific logdir as followed :

Tensorboard  --logdir=D:\Tensorflow\Main\Features_selection\Deep_normed_Feature2
PAUSE

The logdir is fine and I can start TB manually, but when I run the batch file I get a loop effect that I don't how to avoid. here is the command prompt output
enter image description here

Does anyone here know how to solve this ?

Upvotes: 1

Views: 886

Answers (1)

user6811411
user6811411

Reputation:

If you name a batch with the same name as the program run
and don't supply an extension,
you create an infinitive loop the batch running itself constantly.

So either choose a different name or explicitly run the program with full path and extension

Upvotes: 4

Related Questions