-
- Downloads
create_model: fix bug when trying to use an unsupported dataset
When trying to create a model using an unsupported dataset, create_model() should raise a ValueError, but didn't. One of the unit-tests (test_create_model_cifar in test_infra.py) was designed to test this condition (creating a model using an unsupported dataset - cifar100 in this case), but due to DataParallel implementation details, the test condition did not function on multi-GPU machines and did fail the test. Unit tests should also be executed on single-GPU machines for full-coverage.
Please register or sign in to comment