luarocks install loadcaffe: Error: No results matching query were found

in #luarocks5 years ago

If encountering while setting up docker:

luarocks install loadcaffe: Error: No results matching query were found



fix:
1.Install custom torch:

RUN git clone https://github.com/nagadomi/distro.git ~/torch --recursive
WORKDIR /root/torch
RUN ~/torch/install-deps
RUN ~/torch/install.sh



2.Call luarocks' loadcaffe from the custom torch & install first the image lib

# Install loadcaffe
RUN apt-get install -y libprotobuf-dev protobuf-compiler
RUN /root/torch/install/bin/luarocks install image
RUN /root/torch/install/bin/luarocks install loadcaffe



'njoy

source: https://github.com/octavflorescu/neural-style/blob/master/Dockerfile

Sort:  

Congratulations @octav! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 3 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!