Hands-on model training and testing
Facebook Research released the GitHub repository of the SynSin model, which allows us to train the model and use an already pre-trained model for inference. In this section, we will discuss both the training process and inference with pre-trained models:
- But first, we need to set up the model. We need to clone the GitHub repository, create an environment, and install all the requirements:
git clone https://github.com/facebookresearch/synsin.git cd synsin/ conda create –-name synsin_env –-file requirements.txt conda activate synsin_env
If requirements can’t be installed with the preceding command, it’s always possible to install them manually. For manual installation, follow the synsin/INSTALL.md
file instructions.
- The model was trained on three different datasets:
RealEstate10K
MP3D
KITTI
For the training, data can be downloaded from the dataset websites. For this book, we are going to use the...