Skip to content

evil-panda-team/huawei_inpainting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test

  • Testing script is ./pipeline.py (the same as ./run.py)
  • --img_dir argument need to be specified (path to the directory, containing images)

The test script can work both on gpu and cpu:

  • To test on GPU: tester = Tester(model, input_size, batch_size)
  • To test on CPU: tester = Tester(model, input_size, batch_size, 'cpu')

Weights

Download 'model_places2.pth' weights from here: https://drive.google.com/open?id=1SGJ_Z9kpchdnZ3Qwwf4HnN-Cq-AeK7vH and place it inside ./DFNet/model/ directory

Train

Dependencies

  • python3
  • OpenCV
  • PyTorch
  • numpy
  • tqdm
  • tensorboardX (for training only)

About

Image inpainting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published