knazeri / edge-connect

EdgeConnect: Structure Guided Image Inpainting using Edge Prediction, ICCV 2019 https://arxiv.org/abs/1901.00212
http://openaccess.thecvf.com/content_ICCVW_2019/html/AIM/Nazeri_EdgeConnect_Structure_Guided_Image_Inpainting_using_Edge_Prediction_ICCVW_2019_paper.html
Other
2.5k stars 530 forks source link

custom new dataset #129

Open albingit70 opened 4 years ago

albingit70 commented 4 years ago

Hi @knazeri I have collected new images and downloaded mask images which you've used. I have some questions to start model training: 1). About image dataset, I am using JPEG images which downloaded from google's dataset: I split 720 X 720 images from their 4K image, and trying to use it as image dataset. Does it work?

2). I am not sure, but you've been using 3 channel images in testing. If there is any one image with 4 channels in train/test/val images, then it will cause any problem while training?

3). About model stage, I need to run 3 steps to get final model? You've wrote in README:

EdgeConnect is trained in three stages: 1) training the edge model, 2) training the inpaint model and 3) training the joint model. To train the model:

It does mean that I need to run train.py for 3 times with stage 1,2,3 to get final model?

4). About checkpoints, I can't use your pretrained checkpoints since I am using new image dataset?

Looking forward to hearing from you as soon as possible. Thank you