How to Solve NameError: name 'program' is not defined -- tensorboard
Solution: Import the 'program' module
To Solve the error, add the following line to the top of your code.
from tensorboard import program
For more information:
Python tensorboard program