Giter VIP home page Giter VIP logo

glcic.pytorch's Introduction

Image-Completion-Pytorch

This is a implement of the paper 'Globally and Locally Consistent Image Completion'[Project Page]

Usage

For ATR Dataset:

CUDA_VISIBLE_DEVICES=0 python train --config=config.yaml

For LIP Dataset:

CUDA_VISIBLE_DEVICES=1 python train --config=config_lip.yaml

glcic.pytorch's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

glcic.pytorch's Issues

Datasets

Hi,

I can't find the datasets you are training on in your YAML files. Could you please tell me where to download them ?

Regards

Black frame generated after server epochs

Dear Ruilong Li,

Thank you for implementing this. It is excellent work to reproduce the training code with python.

However, I found two issues after I trained the model several epochs. I trained with my own data with initial model completionnet_places2.t7. On the first of the epochs, it would do an OK job, however, there is a gray frame covered.

This image is generated from my own data set. And you can see a grey box is covered on top of that.
image

After several epochs, the completion part is totally black. Could you explain why? Is it because overfiting?

Here is an artifact generated after 10 epochs. You can see a black box in the image. This is generated from the Places dataset.
image

Again, thank you for your work and I really appreciate your hard work. Many thanks to your reply.

Best,
Miao Jiang

Another bug for data

Hi Ruilong Li,

I found another bug after modifying epochs for G and D.

Here is the report.
Traceback (most recent call last):
File "train.py", line 592, in
main()
File "train.py", line 531, in main
train(dataLoader, model_G, model_D, epoch)
File "train.py", line 450, in train
losses_G.update(loss_G.data[0], input3ch.size(0))
AttributeError: 'AverageMeter' object has no attribute 'data'

Does the data here mean val?

Best,
Miao

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.