Colorizing Top - 2020-04-09 12:03

Colorizing Top

Link to main site

3 Likes

Looks great. Thx for sharing!

Awesome! I’m watching Charlie Chaplin colorized :smile:
Thank you!

Hey xbimax,
Are you really watching Charlie Chaplin colorised ?
Is this a good Result ?

Happy to share !

yes @shieman I tried out quickly with screengrab directly from youtube. I’ve also watched some Fellini old movies.
Oh yeah i should try Pi by Aronofsky!
btw it really works great on images, like I’m impressed by the elephant and surprised by the fact that it guessed the color of the reptile!
Also was the uniform red in reality? or it was green? because it should be the uniform from the great dictator… :face_with_monocle:

Yes,

It give good results with B&W photos with good quality.
On old photographies, the results look like old color photographies.
What is interresting, it brings some depth on some images.

1 Like

Hi Shieman, first of all THANK YOU for this wonderful work!
I’ve got some issue on the TOE, I always get a “Failed to load DLL” error.
My situation:

  1. I’ve got a TD PRO license running on a I7 7, 16GB RAM, GTX 1070
  2. I downloaded the opencv_world420.dll and copied on the “release” folder of the project, near the Colorizing.DLL
  3. I downloaded and installed the CUDA 10.2
  4. I downloaded the cuDNN and copied the bin/include/lib contents in the corresponding CUDA installation folder.
  5. I downloaded both colorization_deploy_v2.prototxt and colorization_release_v2.caffemodel and copied in the “release” folder.
    The patch freezes on loading as it reaches 100%.
    I also tried to open the “crash” file, put the DLL CplusPlus comp in stanbu and relaunch the patch. In this case it loads, but as soon as I activate the CPlusPlus TD freezes completly.
    Have any idea what I’m doing wrong?
    Thank you!
    SImone

Hi

I think you did all necessary. I didn’t use it last time with latest td versions, but that should not be the problem.
I wrote some c++ tops but I am not sure if the input is empty…
Did you try a new patch with the c++ top with unload plugin then put a movie file in top with a valid picture or movie, then put the dll path in the plugin path, then load plugin…
May be

Now i am on holidays till 20 August, I don’t have my computer so I can not try…
If you don’t need « realtime « but want to coloriée pictures or movies and if you know a little python then you can try deoldify, there is a github. I used it last time cause the results are better for the pictures and movies I wanted to colorize…

Thank you for your reply.
I tried what you wrote, but the patch still freezes as I load the DLL.
Please, enjoy your holidays, we’ll talk again later! :smiley:

Thanks
I will contact you later

Hi Shieman, please,take your time.

Hi Shieman, I just tried on another clean PC.
I get the “Failed to load the .dll” issue. :frowning:

What build are you using? I’ll see if I can reproduce. CUDA has changed with Official vs Experimental.

Hi
I am back home, I will try to see tomorrow…

Hi Ben, my c++ top does not use Td cuda but opencv cuda version… cuda installed version must be the same as opencv built with cuda…
I tested that with other c++ opencv cuda tops,
It is not a problem if Opencv dll has been built with a different cuda version as Td.

Simone, are you sure cuda is on your windows path env?
Did you try running opencv examples using cuda cudnn or dnn ?
Did you try putting cuda cudnn dll’s near the c++ top and opencv dll ?

1 Like

Thanks for sharing this! I’ve been trying too and getting the same .dll failed to load issue as well. Do you need to have Visual Studio installed with certain packages or should it work with just that described in the Github repo instructions?
edit: I got it working :slight_smile: I had been trying with Cuda 11, now I installed 10.2 and deleted the v11 environment variables.

I do seem to have a problem when saving as a tox in the palette and importing into another project, the dll fails to load again and freezes when updating the path. Not sure what the best method here would be to package this as a tox? I tried putting all the dependencies into the palette folder.

A really useful too for determining what .dlls are missing is this:

Ideally the end-user’s shouldn’t need to install any CUDA libraries, except maybe the cuDNN ones since those have weird licensing restrictions on redistribution. The core CUDA .dlls should be included next to the plugin .dll, along with other .dlls such as openCV.

Hi Ben, I’m on 2020.25380