in train.py line61 'model = model.cuda()' should be corrected as 'model = model.to(device)'. otherwise, cpu is not allowed for training.