Document --filenames-filter for direct predict
Browse files
README.md
CHANGED
|
@@ -58,10 +58,13 @@ direct predict ./predictions/brain \
|
|
| 58 |
--cfg ./uniform/uniform_brain.yaml \
|
| 59 |
--checkpoint ./uniform/uniform_vsharp.pt \
|
| 60 |
--data-root /path/to/fastmri/brain/multicoil_val \
|
|
|
|
| 61 |
--num-gpus 1
|
| 62 |
```
|
| 63 |
|
| 64 |
The first argument to `direct predict` is the **prediction output directory**.
|
|
|
|
|
|
|
| 65 |
|
| 66 |
### Changing acceleration
|
| 67 |
|
|
|
|
| 58 |
--cfg ./uniform/uniform_brain.yaml \
|
| 59 |
--checkpoint ./uniform/uniform_vsharp.pt \
|
| 60 |
--data-root /path/to/fastmri/brain/multicoil_val \
|
| 61 |
+
--filenames-filter projects/UNIFORM/lists/test/brain_4x.lst \
|
| 62 |
--num-gpus 1
|
| 63 |
```
|
| 64 |
|
| 65 |
The first argument to `direct predict` is the **prediction output directory**.
|
| 66 |
+
Pass basenames via `--filenames-filter` (path to a `.lst` file under `--data-root`);
|
| 67 |
+
unlike training/validation, inference does not read `filenames_lists` from the YAML.
|
| 68 |
|
| 69 |
### Changing acceleration
|
| 70 |
|