This repository contains the code and 2D pretrained models.
-
Clone the repository:
git clone https://github.com/plbbl/code.git
Here, we provide the links to the pretrained models for various 2D models used in our paper. The majority of these pretrained models are provided by the original authors of the corresponding models.
To train the model on your own dataset, follow these steps:
-
Prepare the images restored by the 2D restoration model and use colmap to extract their point clouds.
-
According to your requirements, modify the script/train.sh file.
-
Run the training script:
bash script/train.sh
After training, you can evaluate the model using the testing script.
-
The
train.shfile already includes the corresponding rendering code and test code. Please modify it according to your needs.bash script/train.sh