Skip to content

Reproducing "Recurrent Feature Reasoning For Image Inpainting" of CVPR 2020 by tensorflow

License

Notifications You must be signed in to change notification settings

sfwyly/RFR-Inpainting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RFR-Inpainting

Reproducing "Recurrent Feature Reasoning For Image Inpainting" of CVPR 2020 by tensorflow

About half a day of training in NVIDIA V100 (32G):

Inputs Outputs
inputs inputs
inputs inputs

Environmental requirements

  • tensorflow 2.0

Code Advantages

  • Lesser useless code
  • Simpler core network architecture
  • Faster configuration and running

The directory structures

network.py : Core network structure
utils.py : Other core utils
config.py : Parameter Configuration
run.py : Run the network
test.py : Test the network

Using

train

python run.py /root/image_root_path/ /root/mask_root_path

test

python test.py /root/image_root_path/ /root/mask_root_path

All parameters are set in config.py.

Pretrained Models

CelebA : At Once
Places2 : TODO
Paris Street View :TODO

Details

Unlike the original version, I normalize all inputs to between 0 and 1, and use the sigmoid function for the output. Because I find the author's original code hard to converge.

About

Reproducing "Recurrent Feature Reasoning For Image Inpainting" of CVPR 2020 by tensorflow

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages