shenfalong / styletransfer

Real-time neural style transfer via meta networks
https://github.com/FalongShen/styletransfer
BSD 2-Clause "Simplified" License
127 stars 31 forks source link

Build errors #5

Open CJHFUTURE opened 6 years ago

CJHFUTURE commented 6 years ago

Hi dude, just getting this build error...cant see the folder...whats ment to be inside it?

paperspace@psy21ytam:~/Desktop/SOFTWARE/styletransfer-master$ make -f Makefile find: src/caffe/layers/data': No such file or directory find:src/caffe/layers/data': No such file or directory CXX src/caffe/data_transformer.cpp In file included from include/caffe/blob.hpp:8:0, from include/caffe/data_transformer.hpp:7, from src/caffe/data_transformer.cpp:11: include/caffe/common.hpp:7:18: fatal error: nccl.h: No such file or directory

include

              ^

compilation terminated. make: *** [build/src/caffe/data_transformer.o] Error 1

shenfalong commented 6 years ago

Makefile has been fixed for some bugs. Note there are some thirdparty libs you need to install on your machine, such as "/home/shen/caffe/thirdparty/cudnn" "/home/shen/caffe/thirdparty/nccl" "/home/shen/caffe/thirdparty/blas" "/home/shen/caffe/thirdparty/mpich"

CJHFUTURE commented 6 years ago

have tried again..still getting an issue with there being no directory in the repo for caffe/layers/data? Any ideas?

paperspace@psy21ytam:~/Desktop/SOFTWARE/styletransfer-master$ make -f Makefile find: src/caffe/layers/data': No such file or directory find:src/caffe/layers/data': No such file or directory PROTOC -o src/caffe/proto/caffe.pb.cc CXX src/caffe/data_transformer.cpp In file included from include/caffe/blob.hpp:8:0, from include/caffe/data_transformer.hpp:7, from src/caffe/data_transformer.cpp:11: include/caffe/common.hpp:7:18: fatal error: nccl.h: No such file or directory

include

              ^

compilation terminated. make: *** [build/src/caffe/data_transformer.o] Error 1 paperspace@psy21ytam:~/Desktop/SOFTWARE/styletransfer-master$

shenfalong commented 6 years ago

The data folder has been added and I uploaded a pre-built version of the code.