Ben Chuanlong Du's Blog

It is never too late to learn.

GPU Related Issues and Solutions

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips

  1. Training a model requires significantly more CPU/GPU memories than running inference using the model.

  2. torch.cuda.empty_cache() doesn't help if memory is not enough

  3. It is suggested that you …

Dual Boot Linux and Windows

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Mount the Windows File System

When you dual boot your machine with Linux (e.g., Ubuntu) and Windows, the Windows disk/partition might not be mounted automatically. In that case, you …

Fix Authentication Error of GitHub Repositories on DockerHub

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Solution

  1. Got to Account Seetings

  2. Navigate to the Linked Accounts seciton

  3. Unlink GitHub and relink it.

References

https://github.com/docker/hub-feedback/issues/416

"." Is Not Recognized as An Internal or External Command

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

I encountered the following error message when running a Windows command !./osqueryi.exe .tables in the IPython shell.

In[15] >>> !./osqueryi.exe .tables
'.' is not recognized as an internal or external …