Open chensivan opened 6 years ago
Did you find any solution?? same issue here..
Found a solution, albeit kinda hacky
first i removed all libpng files from my computer
brew uninstall libpng' found the rest using
find /usr/ /Library/ /opt/ /lib/ -iname "libpng*.dylib" 2>/dev/null manually running
rm` on the results.
Then i followed the instructions here to install libpng 1.4.12
http://mac-dev-env.patrickbougie.com/libpng/
and created my own symlinks.
The symlinks created on that website arent the right ones.
To find the right ones I reinstalled libpng using homebrew
brew install libpng
and saw replaced all the symlinks it created. The symlinks should be in /usr/local/lib/
the same question, and many methods have tried but no one succeed... TAT
I'm running to an issue where the version of the packages are just not right. I ran
th run_model.lua -input_image imgs/test.png -gpu -1
It says:
And if I used .jpg
th run_model.lua -input_image imgs/elephant.jpg -gpu -1
I've tried to uninstall libjpeg and libpng, and also had libjpeg8d (with 9 and w/o), and libpng1.4.12 (with 1.6 and w/o) copied in the same location. I tried both lua5.2, 5.3.
I'm using MacOS 10.12.6. Please help!