This commit is contained in:
Mashiro 2022-08-13 09:15:08 +08:00 committed by GitHub
parent 813f49bf23
commit 2708b7ed48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1539,6 +1539,7 @@ class TestRunner(TestCase):
runner.train()
# 9 Test training with a dataset without metainfo
cfg.experiment_name = 'test_train9'
cfg = copy.deepcopy(cfg)
cfg.train_dataloader.dataset = dict(type='ToyDatasetNoMeta')
runner = runner.from_cfg(cfg)