Skip to content

[Solved] RuntimeError: Input and parameter tensors are not at the same device, found input tensor at cpu and parameter tensor at cuda:0

[Scikit-Learn] Using “train_test_split()” to split your data

Last Updated on 2021-06-28 by Clay

Today, if we need to split our data for training our model —— we need to split training data and test data. We use “training data” to train our model and check it never peep our “test data”, it is very important, because our “test data” can assess the quality of our model.

Read More »[Scikit-Learn] Using “train_test_split()” to split your data

[Linux] Show a progress bar when copying file

Last Updated on 2021-06-18 by Clay

If we need to copy some big files to another path, we always afraid our copy process dead. It’s very terrible if we forgot to use “screen” or “nohup” instructions (screen is an instruction that can execute a program in the background. Maybe you can refer here: [Linux] Using instruction “screen” to put process in background)

Read More »[Linux] Show a progress bar when copying file
Exit mobile version