Giter Site home page Giter Site logo

Comments (10)

mushtaqpatel0505 avatar mushtaqpatel0505 commented on June 18, 2024

@YeolJ00 @niceDuckgu @pmh9960

from icolorit.

YeolJ00 avatar YeolJ00 commented on June 18, 2024

Our model is not specifically trained for unconditional colorization, but you can still obtain a colorized image without providing any hints.
Have you tried it in the demo or the code? You simply don't pass any hints.

from icolorit.

mushtaqpatel0505 avatar mushtaqpatel0505 commented on June 18, 2024

Yeah, for some images it's working well (colorizing the grey image) but for some images, it is showing the grey image as it is
for old family photos it's not working well

from icolorit.

mushtaqpatel0505 avatar mushtaqpatel0505 commented on June 18, 2024

Do I need to train on the old family photo? Could you tell me the procedure for using current checkpoints? base, small or tiny

from icolorit.

YeolJ00 avatar YeolJ00 commented on June 18, 2024

For some images, the initial results may still be grey since it is not trained to do that.
If you with to train an unconditional model, you can use the following command, given that you have all the training data ready.

bash scripts/train.sh --num_hint_range 0

Also, in order to use the small and tiny model, you would have to change the model type with the following argument.

bash scripts/infer.sh --model icolorit_small_4ch_patch16_224 --model path/to/your/checkpoint

from icolorit.

mushtaqpatel0505 avatar mushtaqpatel0505 commented on June 18, 2024

Could I train the "icolorit_base_4ch_patch16_224" checkpoint further on the coco, place365 ? not from scratch

from icolorit.

YeolJ00 avatar YeolJ00 commented on June 18, 2024

Yes you can, simply use the --resume argument and load the pretrained model.
I strongly suggest reading through the arguments in main.py.

from icolorit.

mushtaqpatel0505 avatar mushtaqpatel0505 commented on June 18, 2024

How to run on single image?

from icolorit.

YeolJ00 avatar YeolJ00 commented on June 18, 2024

Please refer to the demo for a GUI.
Also, PLEASE provide information when posting a question with information related to what you have tried, what the errors were and the enviornent you are running on.

from icolorit.

mushtaqpatel0505 avatar mushtaqpatel0505 commented on June 18, 2024

How to run on the single image without GUI in the terminal/command prompt?
input: grey image
output: colored image

from icolorit.

Related Issues (7)

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.