[Linux] How to use remote Jupyter Notebook via SSH
Jupyter Notebook is a Python Editor (?) or you may think it is like an IDE, which is implemented by IPython.
Read More »[Linux] How to use remote Jupyter Notebook via SSHJupyter Notebook is a Python Editor (?) or you may think it is like an IDE, which is implemented by IPython.
Read More »[Linux] How to use remote Jupyter Notebook via SSHToday, when I using PyTorch to build a LSTM model, I got an error occured:
LSTM RuntimeError: input must have 3 dimensions, got 2
Read More »[Solved][PyTorch] LSTM RuntimeError: input must have 3 dimensions, got 2Today, when I load a model I trained with PyTorch and I want to use it to process some new data, I got a error report:
Read More »[Solved] RuntimeError: Input and parameter tensors are not at the same device, found input tensor at cpu and parameter tensor at cuda:0Today, 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 dataCosine Similarity is a common calculation method for calculating text similarity. The basic concept is very simple, it is to calculate the angle between two vectors.
Read More »How to calculate Cosine Similarity (With code)When we using Python to develop some program, sometimes we may want to print some colorful string in our terminal.
Read More »[Python] print colorful string in terminalWhen we browse many Python repositories, we often see a “requirements.txt” file in repository. This file can help us to install the exact same package versions as the project was during development.
Read More »[PyCharm] How to export the requirements file from PyCharmPyCharm is a famous Python IDE, other introduction you can refer the article I wrote: “PyCharm Installation Tutorial, A famous Python IDE”. Today I want to note some common sense about “How to split screen in PyCharm”.
Read More »[PyCharm] common sense: split screenIf we using IDE to develop the program, maybe you have noticed: the code we wrote is highlighted! This is because of there is a backend program to highlight our code automatically.
Read More »[Python] Using Python package “Pygments” to highlight your codeDuring executing the program by PyCharm, sometimes maybe have the following error happened:
Read More »[Solved] PyCharm: Cannot start process, the working directory ‘xxx’ does not exist