(upscale_factor)
| 61 | |
| 62 | |
| 63 | def get_test_set(upscale_factor): |
| 64 | root_dir = download_bsd300() |
| 65 | test_dir = join(root_dir, "test") |
| 66 | crop_size = calculate_valid_crop_size(256, upscale_factor) |
| 67 | |
| 68 | return DatasetFromFolder(test_dir, |
| 69 | input_transform=input_transform(crop_size, upscale_factor), |
| 70 | target_transform=target_transform(crop_size)) |
no test coverage detected