简体   繁体   中英

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
在此处输入图片说明

Does anyone here know how to solve this ?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM