spmallick / learnopencv

Learn OpenCV : C++ and Python Examples
https://www.learnopencv.com/
21.1k stars 11.58k forks source link

getModels.sh links - most broken #768

Open HopiumCurrency opened 1 year ago

HopiumCurrency commented 1 year ago

Hi just letting you know that a lot of the urls in the getModels.sh are now broken so resources won't download..

eg https://raw.githubusercontent.com/richzhang/colorization/master/colorization/models/colorization_deploy_v2.prototxt is dead.

thanks.

brmarkus commented 1 year ago

Which sample, which code, which folder are you referring to?

HopiumCurrency commented 1 year ago

sorry my bad, thought adding issues would automatically link it to your project I was on - the colorization learningopencv - https://github.com/spmallick/learnopencv/tree/master/Colorization - many of the first links in the getModels.sh don't work anymore..

I have made an update my end.. and confirmed works..

mkdir models wget https://github.com/mlhubber/colorize/raw/master/data/pts_in_hull.npy -O ./pts_in_hull.npy wget https://raw.githubusercontent.com/alexellis/faas-colorization/master/function/models/colorization_deploy_v2.prototxt -O ./models/colorization_deploy_v2.prototxt wget http://eecs.berkeley.edu/~rich.zhang/projects/2016_colorization/files/demo_v2/colorization_release_v2.caffemodel -O ./models/colorization_release_v2.caffemodel wget http://eecs.berkeley.edu/~rich.zhang/projects/2016_colorization/files/demo_v2/colorization_release_v2_norebal.caffemodel -O ./models/colorization_release_v2_norebal.caffemodel

TimmvonderMehden commented 2 weeks ago

The links are broken again and at least with OpenCV 4.10 I get an error: Failed to parse NetParameter file: .../colorization_release_v2.caffemodel