About TensorBoard in C1_W5_Lab_1_exploring-callbacks

Hi,
I am trying to run the W5 Lab1 code from my Jupyter Notebook in my PC.
In order to enable visualizations for TensorBoard, the given notebook runs the following code.

!rm -rf logs

But I got the following error message:

‘rm’ is not recognized as an internal or external command, operable program or batch file.

I understand that the error occurs since I am running the given code from my Jupyter notebook from my PC.

I just wonder what the code is doing and how I can resolve the issue described above.

I would appreciate it if anyone can advise me on this issue.

Thanks
Best regards,
Michio

I just wonder if there is any way to run

If you are running DOS/windows locally you need to adjust accordingly

Hi @ai_curious
First of all, thanks for the link.
Unfortunately I do not have an experience in interacting with the operation system.
I just wonder if the code below does the job.

import os

# Windows
os.system('cls')

I would appreciate it if you could further guide me on this issue.
thanks
Best regards

https://docs.python.org/3/library/os.html?highlight=os%20remove#os.remove