caffe GPU版本編譯遇到的幾個問題
1.環境:ubuntu18 desktop版 Caffe-GPU編譯問題:nvcc fatal : Unsupported gpu architecture ‘compute_20’: https://blog.csdn.net/kemgine/article/details/78781377
2.Creating lmdb... F0225 16:39:23.937786 23330 convert_mnist_data.cpp:45] Check failed: image_file Unable to open file data/mnist/train-images-idx3-ubyte *** Check failure stack trace: *** @ 0x7f5d0f0e8daa (unknown) @ 0x7f5d0f0e8ce4 (unknown) @ 0x7f5d0f0e86e6 (unknown) @ 0x7f5d0f0eb687 (unknown) @ 0x4045df convert_dataset() @ 0x402943 main @ 0x7f5d0de99ec5 (unknown) @ 0x40298c (unknown) @ (nil) (unknown) Aborted (core dumped) F0225 16:39:24.025714 23334 convert_mnist_data.cpp:45] Check failed: image_file Unable to open file data/mnist/t10k-images-idx3-ubyte *** Check failure stack trace: *** @ 0x7faa1af57daa (unknown) @ 0x7faa1af57ce4 (unknown) @ 0x7faa1af576e6 (unknown) @ 0x7faa1af5a687 (unknown) @ 0x4045df convert_dataset() @ 0x402943 main @ 0x7faa19d08ec5 (unknown) @ 0x40298c (unknown) @ (nil) (unknown) Aborted (core dumped) Done.
rename your mnist dataset,because you downloaded mnist dataset maybe was “t10k-images.idx3-ubyte” but it is the “t10k-images-idx3-ubyte” in create_mnist.sh,so you have to use '-'instead of ‘.’