然后观察验证集上的性能表现,并根据实际情况逐渐增加。对于预训练模型的微调任务,有时较少的epochs就已...
( ValueError: train_dataloader, train_cfg, and optim_wrapper should be either all None or not None, but got train_dataloader=None, train_cfg={'type': 'EpochBasedTrainLoop', 'max_epochs': 12, 'val_interval': 1}, optim_wrapper={'type': 'OptimWrapper', 'optimizer': {'type': 'SGD'...