Skip to content

Commit

Permalink
inference fields
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeyiasemis committed Nov 12, 2023
1 parent 2b7d18d commit 30d025b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions projects/vSHARP/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,30 @@ To perform inference on test set run:
--num-gpus <number_of_gpus> \
--num-workers <number_of_workers> \
[--other-flags]
Note that the above command will produce reconstructions for 4x accelerated data. To change the acceleration faction make
sure to adapt the `inference` field in the respective yaml file. For instance:

.. code-block:: yaml
inference:
crop: header
batch_size: 5
dataset:
name: FastMRI
transforms:
use_seed: True
masking:
name: FastMRIEquispaced
accelerations: [8]
center_fractions: [0.04]
cropping:
crop: null
sensitivity_map_estimation:
estimate_sensitivity_maps: true
normalization:
scaling_key: masked_kspace
scale_percentile: 0.995
text_description: inference-8x # Description for logging
can be used for an acceleration factor of 8.

0 comments on commit 30d025b

Please sign in to comment.