Skip to content
Snippets Groups Projects

Instructions for Training ResNet Inpainting Model, Saving Predictions, and Evaluating Accuracy

We assume you have activated the dav2 Conda environment. Or, you can activate the terra-torch3d Conda environment, and install requirements for pytorch-msssim and lpips. You should also have generated delayed reprojections using a given depth model by following instructions here.

Train Model

  • Update file names and valid timesteps to load for train, validation, and test splits in the dataset script here
  • Update path to pretrained VisionNavNet in the model file here
  • Run python train_resnet_inpaint.py with desired arguments to train an inpainting model

Collect Predictions

Evaluate Accuracy

  • To compute quantitative accuracy of inpainted images