neka-nat / image_completion_tf2

"Globally and Locally Consistent Image Completion" with Tensorflow2 Keras
31 stars 11 forks source link

does this code deal with random mask? #11

Closed micklexqg closed 5 years ago

micklexqg commented 6 years ago

Hi, as the title, sorry for that I have not run successfully the code for now so i did not know it it can fulfill random inpainting. I noticed the script in https://github.com/nekanat/image_completion_keras/blob/master/train.py. may be the code can fulfill random inpainting? is it?

neka-nat commented 6 years ago

Hi, @micklexqg . Yes, this code can fulfill random inpainting. In the flow method of Datagenerator, bounding boxies are generated randomly.

You mentioned you couldn't run successfully the code. What kind of trouble does it have?

micklexqg commented 6 years ago

@neka-nat , thanks for reply. because I am working on fulfill random inpainting based on another inpainting model. so an unconsidered trouble. maybe later I will try your code and perhaps need to consult you...