MRI Reconstruction Python* Demo

This demo demonstrates MRI reconstruction model described in and implemented in The model is used to restore undersampled MRI scans which is useful for data compression.

Supported Models

  • hybrid-cs-model-mri


Refer to the tables Intel’s Pre-Trained Models Device Support and Public Pre-Trained Models Device Support for the details on models inference support at different devices.


  1. Running the application with the -h option yields the following usage message:

    $ python3 -h
    usage: [-h] -i INPUT -p PATTERN -m MODEL
                                      [-d DEVICE] [--no_show]
    MRI reconstrution demo
    optional arguments:
      -h, --help            show this help message and exit
      -i INPUT, --input INPUT
                            Path to input .npy file with MRI scan data.
      -p PATTERN, --pattern PATTERN
                            Path to sampling mask in .npy format.
      -m MODEL, --model MODEL
                            Path to .xml file of OpenVINO IR.
      -d DEVICE, --device DEVICE
                            Optional. Specify the target device to infer on; CPU or
                            GPU is acceptable. Default value is
      --no_show             Disable results visualization
  2. To run the demo, you need to have