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