Git Product home page Git Product logo

phdnet-painterly-image-harmonization's Issues

must be fix requirements.txt

  1. py3.10 don't have torch 1.10.2+cu113
  2. remove skimage=0.0 (fixed type)
  3. numpy 1.19.5 is conflicted skimage
  4. there is no pytorch 1.10.2.

i fixed as below and it works

$ pip install numpy
$ pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113
$ pip install -r requirements.txt
dominate==2.6.0
numpy
opencv_python_headless==4.5.5.64
Pillow==9.3.0
PyYAML==6.0
scikit_image==0.17.2
tensorboardX==2.5.1
tqdm==4.64.0
visdom==0.1.8.9
yacs==0.1.8

downsample method comes from where

Hello, may I ask which part of the code DAT for Paintery Image Harmonization in Dual Domains in the paper comes from or inherits the downsample method in DAT's networks.py? I couldn't find the answer in the code. If you are willing to answer, I would greatly appreciate it.

本地图像和谐

作者您好,感谢您的工作,请问是否可以提供用于本地图片和谐的demo呢

Questions regarding download link and input size

Hi,

Thanks for the great work and the results look amazing!

For the pre-trained model here, is it possible to also share it on other platforms such as Google Drive? The Baidu Cloud keeps asking me to download its own app instead of the actual pre-trained model. Much appreaciated!

Also does the code strictly requires square images as input? Or does it work on any arbitrary input image resolutions? Thanks a lot!

请问作者们有尝试过增大和谐化图片的尺寸吗?

作者你好,想请问下你们有尝试过增大和谐化图片的尺寸吗?我想在和谐化问题后面接识别和分割的应用,发现大多数的和谐化工作都在256×256的尺寸上进行,实验后resize或者简单超分会导致图片质量非常差,对下游应用来说还不太够用。想请教下作者,这块可以有什么处理思路呢?单纯改卷积尺寸可行吗?

复现不能达到文章的效果

用项目提供的预训练模型的到的图像,效果很差,带有蓝绿色的噪声纹理,例如:
15971a62a370f6f2b10ee7db5903534
5bd0370da91409d9840157888c992db
不知道问题出现在哪里,能否给予指导

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.