Giter Site home page Giter Site logo

menghanxia / disentangledcolorization Goto Github PK

View Code? Open in Web Editor NEW
113.0 113.0 19.0 4.2 MB

A colorization framework that disentangles the color multimodality and the structural consistency via adaptively located anchors, so that both aspects can be achieved effectively. [SIGGRAPH Asia 2022]

License: MIT License

Python 98.63% Shell 1.37%

disentangledcolorization's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

disentangledcolorization's Issues

Training issue: nan occurs after totalLoss_idx.backward()

Hi,
I am trying to finetune DISCO model on other color image datasets. The training settings are kept as default as on ./scripts/anchorcolorprob_hint2class-enhanced-h8.sh. After several loops, "nan" value occurs and the training losses become nan too. I checked the intermediate variables. The "nan" starts after the execution of "totalLoss_idx.backward()". Would you please give me some suggestion? This error usually caused by gradient explosion or gradient vanishing. I tried gradient clipping using torch.nn.utils.clip_grad_norm(model.parameters(), args.clip), and didn't work. Looking forward to your reply.

Best.

請教如何針對高解析度照片上色?

你好
我嘗試在disco平台上,將一張1920 x 1080 大小的黑白照片上色,卻一直無法成功
是不是該平台目前最高只能設定在512 x 512?

另外如果想在本地上訓練+上色,是否有規定照片大小?
電腦規格為win10 i9-12900K RTX3080
謝謝

Why AB channel in CIE Lab space scaled by 110

Hi,
Wonderful work!
As stated on L.35 in ./utils/dataset_lab.py, the ab channels are scaled by 110. instead of 128. Would you please explane the reason? In OPENCV, LAB space should be defined as L -> 0100, a -> -128+128, b-> -128~+128. Thanks again for your wonderful work.

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.