# DXA to MRI Generation 

# Step 1 
###  Registration and Alignment DXA to MRI
This code is from [biobank-self-supervised-alignment](https://github.com/rwindsor1/biobank-self-supervised-alignment.git).

Follow installation process under `README.md` in folder biobank-self-supervised-alignment 

To train:

```
python train_contrastive_networks.py
```

# Step 2 
### Generation of MRI from 2D DXA

*X-Diffusion: 

To train:

```
python ./scripts/main.py
```


