When we are running pytorch scripts, we may get this error: RuntimeError: CUDA error: device-side assert triggered. In this tutorial, we will introduce you how to fix it.
ArcFace loss is widely used in face recognition and image classification. In this tutorial, we will introduce some important things you must notice when using it.
In this tutorial, we will introduce you how to fix RunTimeError: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same.