Coder Social home page Coder Social logo

Comments (13)

wangcx2018 avatar wangcx2018 commented on May 26, 2024

To run train.py,how to set the datasets of Places2? Need to download in advance?if yes, where do the datasets place? thanks!

from pytorch-inpainting-with-partial-conv.

naoto0804 avatar naoto0804 commented on May 26, 2024

@an1018: This is the unofficial implementation by the third party and I admit that there still remains some bugs. I really appreciate it if you could report them.

from pytorch-inpainting-with-partial-conv.

naoto0804 avatar naoto0804 commented on May 26, 2024

@wangcx2018 see #15

from pytorch-inpainting-with-partial-conv.

an1018 avatar an1018 commented on May 26, 2024

@naoto0804 So why do you think this is happening?

from pytorch-inpainting-with-partial-conv.

naoto0804 avatar naoto0804 commented on May 26, 2024

@an1018 The biggest difference is the network itself. It might be better to strictly follow the paper (they use unet_256 used in pix2pix), but I have difficulty in interpreting some parts of the paper (e.g., The last partial convolution layer’s input will contain the concatenation of the original input image with hole and original mask.), since unet_256 does not concatenate the original input image .

from pytorch-inpainting-with-partial-conv.

naoto0804 avatar naoto0804 commented on May 26, 2024

Another possibility is that the mask that I used for this experiment is not suitable.
Recently, the authors make some part of the masks available on their project site.
Splitting that masks into the training and test subset, and then train the model may be better.

from pytorch-inpainting-with-partial-conv.

jeejeelee avatar jeejeelee commented on May 26, 2024

@an1018 Hi, I also encountered this issue, In my personal opinion ,the red region is checkboard artifacts( according to the original paper(page 7-8),Have you solved this issue?

from pytorch-inpainting-with-partial-conv.

sunjunlishi avatar sunjunlishi commented on May 26, 2024

@an1018 how do you use test.py;i don't know how to use

from pytorch-inpainting-with-partial-conv.

an1018 avatar an1018 commented on May 26, 2024

@sunjunlishi Just like this:
CUDA_VISIBLE_DEVICES=2 python test.py

from pytorch-inpainting-with-partial-conv.

sunjunlishi avatar sunjunlishi commented on May 26, 2024

oh,i have change the img path directly.but the result is not good as author's article
result

from pytorch-inpainting-with-partial-conv.

sunjunlishi avatar sunjunlishi commented on May 26, 2024

could author supply a better model.?it is important for me.My project is in need of watermarking and recognition

from pytorch-inpainting-with-partial-conv.

naoto0804 avatar naoto0804 commented on May 26, 2024

First, I'm not the author.
Second, as you can see in the codes, the current checkpoint that I share is trained on Places2 dataset. It is natural that you cannot get as good results as the paper if you try on faces.

from pytorch-inpainting-with-partial-conv.

sunjunlishi avatar sunjunlishi commented on May 26, 2024

oh.thank you verymuch for your reply

from pytorch-inpainting-with-partial-conv.

Related Issues (20)

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.