SequentialSampler expects a Dataset as the input, so you could use Subset for the validation set instead:
val_dataset = Subset(dataset, val_indices)
validation_loader = DataLoader(val_dataset, batch_size=64, shuffle=False)

Beside that the code looks alright.