Ben Chuanlong Du's Blog

And let it direct your passion with reason.

Read Tensorboard Logs

Using pandas.read_csv

This approaches requires you to have a running TensorBoard which is serving the data you want to read.

  1. Check the checkbox "Show data download links". See highlighted in the top-left corner of the screenshot below for an example.

  2. Select an experimentation whose you'd like to download. See highlighted in the bottom-right corner of the screenshot for an example.

Docker in WSL 2

Tips and Traps

  1. Docker on WSL 2 works great. However, the performance of IO is extremely bad if it access the Windows filesystem. For more discussions, please refer to WSL 2 Filesystem .

  2. Docker containers launched from a WSL (e.g., Ubuntu) shell will continue to run after the WSL shell …

Map Keys in Linux

Note: For Vim users, it is appealing to make the Caps Lock function like Escape. It is suggested that you make Caps Lock an additonal Escape rather than swap them. This avoid inconsistent key mapping issues when you work remotely via VNC, NoMachine, etc.

Desktop Environment

Some desktop environment (e …

Compress and Decompressing Archives in Linux

Tips and Traps

  1. Always test integrity of the compressed file before you throw away the original archives. I've seen a case before that a large zip file generated in Windows cannot be unzipped correctly in Linux. Not sure what happend though.

  2. Zstd is currently the best compression/decompression tool. It …