Label-Free Physics-Informed Image Sequence Reconstruction with Disentangled Spatial-Temporal Modeling
[MICCAI, Paper]
This repository holds the experiments and models as explored in the work, "Label-Free Physics-Informed Image Sequence Reconstruction with Disentangled Spatial-Temporal Modeling." We provide guidance on training the models, as well as supplementary experiments and visualizations.
- Check your cuda version. I've tested both
cu101
andcu102
, and both of them are able to work. - Python version >=
3.8
would be recommended. - To install the python packages, change the variable
CUDA
in the scriptreq_torch_geo.sh
, then run it. - Check the configuration under
./config/
. Please useseg04.json
for ODE-GCNN andseg26.json
for ST-GCNN. Here are some important parameters:- net_arch: the type of the network architecture
- ode_func_type: the function used for neural ODE
- seq_len: the length of the input time sequence
- latent_dim: the dimension of the latent feature
- cell_type: the type of modules for the correction step in temporal modeling
- nf: the number of the feature in each layer
- smooth: the smoothing parameter of the regularization term
- To train the model, run the following command:
python main.py --config seg04 --stage 1
- To evaluate the model, run the following command:
python main.py --config seg04 --stage 2
Timelapse reconstruction for a single simulation case. Circled areas represent notable errors in reconstruction compared to ground truth.