caffe生成解决方案时出错 20C

编译环境:win10 vs2017 15.5.6 boost_1_70_0

主要报错:
Unknown compiler version - please run the configure tests and report the results

再次点生成解决方案时的主要报错:
for each 语句不能在“std::array *”类型的变量上操作 ;
“std::array”: 模板 参数太少 ;
无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib” 等等;
因为只能一条条复制,所以如有需要,可提供详细错误;

下面是重新生成解决方案的具体报错,有大佬来救救我吗,感激不尽!需要更详细信息可以直说。

报错:1>------ 已启动全部重新生成: 项目: libcaffe, 配置: Debug x64 ------
1>ProtoCompile.cmd : Create proto temp directory "C:\Users\Kay Chow\Documents\caffe-master\windows..\src\caffe\proto\temp"
1>ProtoCompile.cmd : Generating "C:\Users\Kay Chow\Documents\caffe-master\windows..\src\caffe\proto\temp\caffe.pb.h" and "C:\Users\Kay Chow\Documents\caffe-master\windows..\src\caffe\proto\temp\caffe.pb.cc"
1>ProtoCompile.cmd : Create proto include directory
1>子目录或文件 C:\Users\Kay Chow\Documents\caffe-master\windows..\include\caffe\proto 已经存在。
1>ProtoCompile.cmd : Compare newly compiled caffe.pb.h with existing one
1>blob.cpp
1>common.cpp
1>data_reader.cpp
1>data_transformer.cpp
1>internal_thread.cpp
1>layer.cpp
1>absval_layer.cpp
1>accuracy_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>argmax_layer.cpp
1>base_conv_layer.cpp
1>base_data_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>batch_norm_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>batch_reindex_layer.cpp
1>bias_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>bnll_layer.cpp
1>box_annotator_ohem_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>concat_layer.cpp
1>contrastive_loss_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>conv_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>crop_layer.cpp
1>cudnn_conv_layer.cpp
1>cudnn_lcn_layer.cpp
1>cudnn_lrn_layer.cpp
1>cudnn_pooling_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>cudnn_relu_layer.cpp
1>cudnn_sigmoid_layer.cpp
1>cudnn_softmax_layer.cpp
1>cudnn_tanh_layer.cpp
1>data_layer.cpp
1>deconv_layer.cpp
1>dropout_layer.cpp
1>dummy_data_layer.cpp
1>eltwise_layer.cpp
1>elu_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>embed_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>euclidean_loss_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>exp_layer.cpp
1>filter_layer.cpp
1>flatten_layer.cpp
1>hdf5_data_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>hdf5_output_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>hinge_loss_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>im2col_layer.cpp
1>image_data_layer.cpp
1>infogain_loss_layer.cpp
1>inner_product_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>input_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>log_layer.cpp
1>loss_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>lrn_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>memory_data_layer.cpp
1>multinomial_logistic_loss_layer.cpp
1>mvn_layer.cpp
1>neuron_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>parameter_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>pooling_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>power_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>prelu_layer.cpp
1>psroi_pooling_layer.cpp
1>reduction_layer.cpp
1>relu_layer.cpp
1>reshape_layer.cpp
1>scale_layer.cpp
1>sigmoid_cross_entropy_loss_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>sigmoid_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>silence_layer.cpp
1>slice_layer.cpp
1>smooth_l1_loss_layer.cpp
1>smooth_L1_loss_ohem_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>softmax_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>softmax_loss_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>softmax_loss_ohem_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>split_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>spp_layer.cpp
1>tanh_layer.cpp
1>threshold_layer.cpp
1>tile_layer.cpp
1>window_data_layer.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>layer_factory.cpp
1>net.cpp
1>parallel.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>caffe.pb.cc
1>solver.cpp
1>adadelta_solver.cpp
1>adagrad_solver.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>adam_solver.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>nesterov_solver.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>rmsprop_solver.cpp
1>sgd_solver.cpp
1>syncedmem.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>benchmark.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>blocking_queue.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>cudnn.cpp
1>db.cpp
1>db_leveldb.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>db_lmdb.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>hdf5.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>im2col.cpp
1>insert_splits.cpp
1>io.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>math_functions.cpp
1>signal_handler.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>upgrade_proto.cpp
1>Unknown compiler version - please run the configure tests and report the results
1>Unknown compiler version - please run the configure tests and report the results
1>libcaffe.vcxproj -> C:\Users\Kay Chow\Documents\caffe-master\windows..\Build\x64\Debug\libcaffe.lib
1>BinplaceCudaDependencies : CPU only build, don't copy cuda dependencies.
2>------ 已启动全部重新生成: 项目: caffe, 配置: Debug x64 ------
3>------ 已启动全部重新生成: 项目: caffe.managed, 配置: Debug x64 ------
4>------ 已启动全部重新生成: 项目: convert_cifar_data, 配置: Debug x64 ------
5>------ 已启动全部重新生成: 项目: classification, 配置: Debug x64 ------
6>------ 已启动全部重新生成: 项目: convert_mnist_data, 配置: Debug x64 ------
7>------ 已启动全部重新生成: 项目: convert_mnist_siamese_data, 配置: Debug x64 ------
8>------ 已启动全部重新生成: 项目: upgrade_net_proto_binary, 配置: Debug x64 ------
9>------ 已启动全部重新生成: 项目: upgrade_net_proto_text, 配置: Debug x64 ------
2>caffe.cpp
9>upgrade_net_proto_text.cpp
2>Unknown compiler version - please run the configure tests and report the results
4>convert_cifar_data.cpp
3>Stdafx.cpp
9>Unknown compiler version - please run the configure tests and report the results
5>classification.cpp
6>convert_mnist_data.cpp
7>convert_mnist_siamese_data.cpp
4>Unknown compiler version - please run the configure tests and report the results
5>Unknown compiler version - please run the configure tests and report the results
8>upgrade_net_proto_binary.cpp
6>Unknown compiler version - please run the configure tests and report the results
8>Unknown compiler version - please run the configure tests and report the results
7>Unknown compiler version - please run the configure tests and report the results
3>AssemblyInfo.cpp
3>caffelib.cpp
3>caffelib.cpp(61): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(62): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址
3>caffelib.cpp(62): note: 编译器将“^”替换为“*”以继续进行分析
3>caffelib.cpp(68): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(68): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址
3>caffelib.cpp(68): note: 编译器将“^”替换为“*”以继续进行分析
3>caffelib.cpp(69): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址
3>caffelib.cpp(69): note: 编译器将“^”替换为“*”以继续进行分析
3>caffelib.cpp(127): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(128): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址
3>caffelib.cpp(128): note: 编译器将“^”替换为“*”以继续进行分析
3>caffelib.cpp(136): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(136): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址
3>caffelib.cpp(136): note: 编译器将“^”替换为“*”以继续进行分析
3>caffelib.cpp(137): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址
3>caffelib.cpp(137): note: 编译器将“^”替换为“*”以继续进行分析
3>caffelib.cpp(64): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(64): error C2027: 使用了未定义类型“std::array”
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(64): error C3536: “outputs”: 初始化之前无法使用
3>caffelib.cpp(64): error C2109: 下标要求数组或指针类型
3>caffelib.cpp(65): error C2440: “return”: 无法从“int”转换为“std::array
3>caffelib.cpp(65): note: 从整型转换为指针类型要求 reinterpret_cast、C 样式转换或函数样式转换
3>caffelib.cpp(71): error C3285: for each 语句不能在“std::array *”类型的变量上操作
3>caffelib.cpp(72): error C2065: “name”: 未声明的标识符
3>caffelib.cpp(74): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(74): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址
3>caffelib.cpp(74): note: 编译器将“^”替换为“
”以继续进行分析
3>caffelib.cpp(74): error C2027: 使用了未定义类型“std::array”
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(78): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(78): error C2027: 使用了未定义类型“std::array”
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(78): error C3536: “values”: 初始化之前无法使用
3>caffelib.cpp(78): error C2109: 下标要求数组或指针类型
3>caffelib.cpp(79): error C3536: “outputs”: 初始化之前无法使用
3>caffelib.cpp(79): error C2109: 下标要求数组或指针类型
3>caffelib.cpp(81): error C2440: “return”: 无法从“int”转换为“std::array
3>caffelib.cpp(81): note: 从整型转换为指针类型要求 reinterpret_cast、C 样式转换或函数样式转换
3>caffelib.cpp(132): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(132): error C2027: 使用了未定义类型“std::array”
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(132): error C3536: “outputs”: 初始化之前无法使用
3>caffelib.cpp(132): error C2109: 下标要求数组或指针类型
3>caffelib.cpp(133): error C2440: “return”: 无法从“int”转换为“std::array *”
3>caffelib.cpp(133): note: 从整型转换为指针类型要求 reinterpret_cast、C 样式转换或函数样式转换
3>caffelib.cpp(141): error C3285: for each 语句不能在“std::array *”类型的变量上操作
3>caffelib.cpp(142): error C2065: “name”: 未声明的标识符
3>caffelib.cpp(144): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(144): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址
3>caffelib.cpp(144): note: 编译器将“^”替换为“
”以继续进行分析
3>caffelib.cpp(144): error C2027: 使用了未定义类型“std::array”
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(148): error C2976: “std::array”: 模板 参数太少
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(148): error C2027: 使用了未定义类型“std::array”
3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明
3>caffelib.cpp(148): error C3536: “values”: 初始化之前无法使用
3>caffelib.cpp(148): error C2109: 下标要求数组或指针类型
3>caffelib.cpp(149): error C3536: “outputs”: 初始化之前无法使用
3>caffelib.cpp(149): error C2109: 下标要求数组或指针类型
3>caffelib.cpp(151): error C2440: “return”: 无法从“int”转换为“std::array *”
3>caffelib.cpp(151): note: 从整型转换为指针类型要求 reinterpret_cast、C 样式转换或函数样式转换
3>已完成生成项目“caffe.managed.vcxproj”的操作 - 失败。
4>LINK : fatal error LNK1104: 无法打开文件“libboost_thread-vc140-mt-gd-1_59.lib”
10>------ 已启动全部重新生成: 项目: upgrade_solver_proto_text, 配置: Debug x64 ------
4>已完成生成项目“convert_cifar_data.vcxproj”的操作 - 失败。
6>LINK : fatal error LNK1104: 无法打开文件“libboost_thread-vc140-mt-gd-1_59.lib”
6>已完成生成项目“convert_mnist_data.vcxproj”的操作 - 失败。
10>upgrade_solver_proto_text.cpp
7>LINK : fatal error LNK1104: 无法打开文件“libboost_thread-vc140-mt-gd-1_59.lib”
7>已完成生成项目“convert_mnist_siamese_data.vcxproj”的操作 - 失败。
10>Unknown compiler version - please run the configure tests and report the results
9>LINK : fatal error LNK1104: 无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib”
9>已完成生成项目“upgrade_net_proto_text.vcxproj”的操作 - 失败。
8>LINK : fatal error LNK1104: 无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib”
8>已完成生成项目“upgrade_net_proto_binary.vcxproj”的操作 - 失败。
5>LINK : fatal error LNK1104: 无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib”
5>已完成生成项目“classification.vcxproj”的操作 - 失败。
2>LINK : fatal error LNK1104: 无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib”
2>已完成生成项目“caffe.vcxproj”的操作 - 失败。
11>------ 已启动全部重新生成: 项目: compute_image_mean, 配置: Debug x64 ------
12>------ 已启动全部重新生成: 项目: convert_imageset, 配置: Debug x64 ------
13>------ 已启动全部重新生成: 项目: extract_features, 配置: Debug x64 ------
14>------ 已启动全部重新生成: 项目: test_all, 配置: Debug x64 ------
15>------ 已启动全部重新生成: 项目: pycaffe, 配置: Debug x64 ------
16>------ 已启动全部重新生成: 项目: matcaffe, 配置: Debug x64 ------
15>Skipping project pycaffe, Python support is not enabled in CommonSettings.props.
16>Skipping project matcaffe, Matlab support is not enabled in CommonSettings.props.
12>convert_imageset.cpp
11>compute_image_mean.cpp
13>extract_features.cpp
14>test_accuracy_layer.cpp
14>test_argmax_layer.cpp
14>test_batch_norm_layer.cpp
14>test_batch_reindex_layer.cpp
14>test_benchmark.cpp
14>test_bias_layer.cpp
14>test_blob.cpp
14>test_caffe_main.cpp
14>Unknown compiler version - please run the configure tests and report the results
13>Unknown compiler version - please run the configure tests and report the results
12>Unknown compiler version - please run the configure tests and report the results
11>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
10>LINK : fatal error LNK1104: 无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib”
10>已完成生成项目“upgrade_solver_proto_text.vcxproj”的操作 - 失败。
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
11>LINK : fatal error LNK1104: 无法打开文件“libboost_filesystem-vc140-mt-gd-1_59.lib”
11>已完成生成项目“compute_image_mean.vcxproj”的操作 - 失败。
12>LINK : fatal error LNK1104: 无法打开文件“libboost_filesystem-vc140-mt-gd-1_59.lib”
12>已完成生成项目“convert_imageset.vcxproj”的操作 - 失败。
13>LINK : fatal error LNK1104: 无法打开文件“libboost_filesystem-vc140-mt-gd-1_59.lib”
13>已完成生成项目“extract_features.vcxproj”的操作 - 失败。
14>test_common.cpp
14>test_concat_layer.cpp
14>test_contrastive_loss_layer.cpp
14>test_convolution_layer.cpp
14>test_crop_layer.cpp
14>test_data_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_data_transformer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_db.cpp
14>test_deconvolution_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_dummy_data_layer.cpp
14>test_eltwise_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_embed_layer.cpp
14>test_euclidean_loss_layer.cpp
14>test_filler.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_filter_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_flatten_layer.cpp
14>test_gradient_based_solver.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_hdf5data_layer.cpp
14>test_hdf5_output_layer.cpp
14>test_hinge_loss_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_im2col_layer.cpp
14>test_image_data_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_infogain_loss_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_inner_product_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_internal_thread.cpp
14>test_io.cpp
14>test_layer_factory.cpp
14>test_lrn_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_math_functions.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_maxpool_dropout_layers.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_memory_data_layer.cpp
14>test_multinomial_logistic_loss_layer.cpp
14>test_mvn_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_net.cpp
14>test_neuron_layer.cpp
14>test_platform.cpp
14>test_pooling_layer.cpp
14>test_power_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_protobuf.cpp
14>test_random_number_generator.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_reduction_layer.cpp
14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(1010): error C2220: 警告被视为错误 - 没有生成“object”文件
14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(992): note: 编译 类 模板 成员函数 "void caffe::NetTest_TestLossWeightMidNet_Test::TestBody(void)" 时
14> with
14> [
14> T=Type
14> ]
14>c:\users\kay chow\documents\caffe-master\src\gtest\gtest.h(7341): note: 参见对正在编译的 类 模板 实例化 "caffe::NetTest_TestLossWeightMidNet_Test" 的引用
14> with
14>
14> T=Type
14>

14>c:\users\kay chow\documents\caffe-master\src\gtest\gtest.h(7327): note: 编译 类 模板 成员函数 "bool testing::internal::TypeParameterizedTestcaffe::NetTest,testing::internal::TemplateSel<caffe::NetTest_TestLossWeightMidNet_Test,caffe::gtest_type_params_NetTest_>::Register(const char *,const char *,const char *,int)" 时 (编译源文件 ....\src\caffe\test\test_net.cpp)
14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(992): note: 参见对正在编译的函数 模板 实例化“bool testing::internal::TypeParameterizedTestcaffe::NetTest,testing::internal::TemplateSel<caffe::NetTest_TestLossWeightMidNet_Test,caffe::gtest_type_params_NetTest_>::Register(const char *,const char *,const char *,int)”的引用
14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(992): note: 参见对正在编译的 类 模板 实例化 "testing::internal::TypeParameterizedTestcaffe::NetTest,testing::internal::TemplateSel<caffe::NetTest_TestLossWeightMidNet_Test,caffe::gtest_type_params_NetTest_>" 的引用
14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(1010): warning C4838: 从“double”转换到“Dtype”需要收缩转换
14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(961): warning C4838: 从“double”转换到“Dtype”需要收缩转换
14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(941): note: 编译 类 模板 成员函数 "void caffe::NetTest_TestLossWeight_Test::TestBody(void)" 时
14> with
14> [
14> T=Type
14> ]
14>c:\users\kay chow\documents\caffe-master\src\gtest\gtest.h(7341): note: 参见对正在编译的 类 模板 实例化 "caffe::NetTest_TestLossWeight_Test" 的引用
14> with
14>
14> T=Type
14>

14>c:\users\kay chow\documents\caffe-master\src\gtest\gtest.h(7327): note: 编译 类 模板 成员函数 "bool testing::internal::TypeParameterizedTestcaffe::NetTest,testing::internal::TemplateSel<caffe::NetTest_TestLossWeight_Test,caffe::gtest_type_params_NetTest_>::Register(const char *,const char *,const char *,int)" 时 (编译源文件 ....\src\caffe\test\test_net.cpp)
14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(941): note: 参见对正在编译的函数 模板 实例化“bool testing::internal::TypeParameterizedTestcaffe::NetTest,testing::internal::TemplateSel<caffe::NetTest_TestLossWeight_Test,caffe::gtest_type_params_NetTest_>::Register(const char *,const char *,const char *,int)”的引用
14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(941): note: 参见对正在编译的 类 模板 实例化 "testing::internal::TypeParameterizedTestcaffe::NetTest,testing::internal::TemplateSel<caffe::NetTest_TestLossWeight_Test,caffe::gtest_type_params_NetTest_>" 的引用
14>test_reshape_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_scale_layer.cpp
14>test_sigmoid_cross_entropy_loss_layer.cpp
14>test_slice_layer.cpp
14>test_softmax_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_softmax_with_loss_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_solver.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_solver_factory.cpp
14>test_split_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_spp_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_stochastic_pooling.cpp
14>test_syncedmem.cpp
14>test_tanh_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_threshold_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>Unknown compiler version - please run the configure tests and report the results
14>test_tile_layer.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>test_upgrade_proto.cpp
14>test_util_blas.cpp
14>gtest-all.cpp
14>Unknown compiler version - please run the configure tests and report the results
14>已完成生成项目“test_all.vcxproj”的操作 - 失败。
========== 全部重新生成: 成功 3 个,失败 13 个,跳过 0 个 ==========

2个回答

第1个: Unknown compiler version - please run the configure tests and report the results 不是个错误,是个警告,我在编译的时候也会出现,这个是boost库的警告;
第2个: 无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib”见图:
图片说明

其他的问题需要看到具体代码才能解决了;看着感觉错误很多,其实估计就是个别地方的问题

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
深度学习配置caffe,生成解决方案时一直出错
C1083 无法打开包括文件: “boost/thread.hpp”: No such file or directory...,生成解决方案一直出错,无法打开文件(boost,glog,google,hdf5.h等等) ![图片说明](https://img-ask.csdn.net/upload/201906/19/1560931792_667312.jpg)
用VS对caffe生成解决方案的时候不能生成object
![图片说明](https://img-ask.csdn.net/upload/201905/30/1559203483_435406.png)
Windows 下安装 caffe
按照 深度学习 21天实战caffe 里面的步骤在Windows下安装caffe,最后在生成解决方案时出错为:CommomSettings.props not found!(里面参数按照教程已改),网上搜索一直未果,有人知道解决办法吗?
caffe框架 训练ImageNet时出错
在imagenet的数据预处理中,我并未产生任何错误,可是终端出现了killed的结果,而且并没生成caffemodel,结果如图。 另外,我的solver、train等都是参考网上的教程来设计的。![图片说明](https://img-ask.csdn.net/upload/201703/24/1490368020_725943.png)
服务器无root权限配置caffe安装snappy时make出错
根据教程https://blog.csdn.net/jiajinrang93/article/details/80337513,安装snappy进行make时报错,cmake版本为3.5.1.请问这要怎样解决?? ``` CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.rodata._ZTIN6snappy31Snappy_ReadPastEndOfBuffer_TestE[_ZTIN6snappy31Snappy_ReadPastEndOfBuffer_TestE]+0x10): more undefined references to `typeinfo for testing::Test' follow collect2: error: ld returned 1 exit status CMakeFiles/snappy_unittest.dir/build.make:122: recipe for target 'snappy_unittest' failed make[2]: *** [snappy_unittest] Error 1 CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/snappy_unittest.dir/all' failed make[1]: *** [CMakeFiles/snappy_unittest.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 ```
Mac 安装caffe,wget时出错,求解答
安装caffe时,安装wget,执行./configure --with-ssl=openssl --with-libssl-prefix=/usr/local/ssl时总出错,提示: configure: error: --with-ssl=openssl was given, but SSL is not available.
ubuntu14.04环境下安装配置caffe,最后编译caffe时出错
我按照http://www.linuxdiyf.com/linux/13008.html 这篇博客配置caffe,前面都没有问题, 但是到这一步之后 ![图片说明](https://img-ask.csdn.net/upload/201601/29/1454060895_988771.png), 出现了问题,问题如下 ![![图片说明](https://img-ask.csdn.net/upload/201601/29/1454060916_9479.png) ![图片说明](https://img-ask.csdn.net/upload/201601/29/1454060959_210537.png), 提示的是这个 make: *** [.build_release/src/caffe/layer_factory.o] 错误 1 make: *** 正在等待未完成的任务.... 我本人不太懂,请问怎么处理啊,急。。 谢谢各位
caffe 运行mnist实例出错
在使用Caffe运行mnist examples时报错,所有步骤都是按照网上步骤一步一步进行的,相当崩溃! 目前错误出现在最后一步,自己间了一个train_mnist_bat,写入 ..\..\Build\x64\Release\caffe.exe train--solver=../../examples/mnist/lenet_solver.prototxt Pause 后,双击运行,结果报错。错误如下: Unknown action: train--solver=../../examples/mnist/lenet_solver.prototxt 反复检查过路径这些,代码都是按照网上步骤撸的,就是报错训练不了,欲哭无泪啊。。。希望大神解答!DL小白跪谢!
关于window下安装caffe环境matcaffe接口的问题
按照网上的博客,配置好工程文件,然后编译libcaffe,然后再编译解决方案‘Caffe’,都没有 出错,成功了16个。但是Build/X64/Release/matcaffe/+caffe/private文件中没有生成caffe_.mexw6,文件,甚至文件夹为空。不知道这是什么情况。请大神帮忙解决。
caffe编译时出现make: protoc:命令未找到
make all -j8 时出现下面问题: ``` PROTOC src/caffe/proto/caffe.proto make: protoc:命令未找到 Makefile:629: recipe for target '.build_release/src/caffe/proto/caffe.pb.cc' failed make: *** [.build_release/src/caffe/proto/caffe.pb.cc] Error 127 make: *** 正在等待未完成的任务.... ```
在caffe安装中 make 出错 怎么解决啊
caffe make 中出现错误 LD -o .build_release/lib/libcaffe-nv.so.0.17.2 /usr/bin/ld: 找不到 -lnvidia-ml /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libturbojpeg.a(libturbojpeg_la-turbojpeg.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC /usr/lib/x86_64-linux-gnu/libturbojpeg.a: 无法添加符号: 错误的值 collect2: error: ld returned 1 exit status Makefile:601: recipe for target '.build_release/lib/libcaffe-nv.so.0.17.2' failed make: *** [.build_release/lib/libcaffe-nv.so.0.17.2] Error 1
ubuntu14 下 Caffe编译问题 出错
# .build_release/lib/libcaffe.so: undefined reference to `cudnnConvolutionBackwardData_v3'.build_release/lib/libcaffe.so: undefined reference to `cudnnConvolutionBackwardData_v3' .build_release/lib/libcaffe.so: undefined reference to `cudnnConvolutionBackwardFilter_v3' collect2: error: ld returned 1 exit status make: *** [.build_release/tools/upgrade_solver_proto_text.bin] Error 1 make: *** Waiting for unfinished jobs.... .build_release/lib/libcaffe.so: undefined reference to `cudnnConvolutionBackwardData_v3' .build_release/lib/libcaffe.so: undefined reference to `cudnnConvolutionBackwardFilter_v3' collect2: error: ld returned 1 exit status make: *** [.build_release/tools/upgrade_net_proto_binary.bin] Error 1 .build_release/lib/libcaffe.so: undefined reference to `cudnnConvolutionBackwardData_v3' .build_release/lib/libcaffe.so: undefined reference to `cudnnConvolutionBackwardFilter_v3' collect2: error: ld returned 1 exit status .build_release/lib/make: libcaffe.so: undefined reference to *** [.build_release/tools/compute_image_mean.bin] Error 1`cudnnConvolutionBackwardData_v3 ' .build_release/lib/libcaffe.so: undefined reference to `cudnnConvolutionBackwardFilter_v3' collect2: error: ld returned 1 exit status make: *** [.build_release/tools/caffe.bin] Error 1 .build_release/lib/libcaffe.so: undefined reference to `cudnnConvolutionBackwardData_v3' .build_release/lib/libcaffe.so: undefined reference to `cudnnConvolutionBackwardFilter_v3' collect2: error: ld returned 1 exit status make: *** [.build_release/examples/cifar10/convert_cifar_data.bin] Error 1 .build_release/lib/libcaffe.so: undefined reference to `cudnnConvolutionBackwardData_v3' .build_release/lib/libcaffe.so: undefined reference to `cudnnConvolutionBackwardFilter_v3' collect2: error: ld returned 1 exit status make: *** [.build_release/tools/convert_imageset.bin] Error 1 .build_release/lib/libcaffe.so: undefined reference to `cudnnConvolutionBackwardData_v3' .build_release/lib/libcaffe.so: undefined reference to `cudnnConvolutionBackwardFilter_v3' collect2: error: ld returned 1 exit status make: *** [.build_release/tools/extract_features.bin] Error 1 .build_release/lib/libcaffe.so: undefined reference to `cudnnConvolutionBackwardData_v3' .build_release/lib/libcaffe.so: undefined reference to `cudnnConvolutionBackwardFilter_v3' collect2: error: ld returned 1 exit status make: *** [.build_release/tools/upgrade_net_proto_text.bin] Error 1_**
caffe make 出错 boost重装了也没有用 求高手!支付宝发红包
sun@sunwin:/RMPE$ cp Makefile.config.example Makefile.config sun@sunwin:/RMPE$ sudo make all -j4 [sudo] sun 的密码: PROTOC src/caffe/proto/caffe.proto CXX src/caffe/blob.cpp CXX src/caffe/layer_factory.cpp CXX src/caffe/syncedmem.cpp CXX src/caffe/common.cpp CXX src/caffe/solvers/nesterov_solver.cpp In file included from /usr/local/include/boost/config.hpp:61:0, from /usr/local/include/boost/thread/detail/platform.hpp:14, from /usr/local/include/boost/thread/thread_only.hpp:12, from /usr/local/include/boost/thread/thread.hpp:12, from /usr/local/include/boost/thread.hpp:13, from src/caffe/common.cpp:1: /usr/local/include/boost/core/ignore_unused.hpp:17:19: error: ‘constexpr’ does not name a type BOOST_FORCEINLINE BOOST_CXX14_CONSTEXPR void ignore_unused(Ts const& ...) ^ /usr/local/include/boost/core/ignore_unused.hpp:17:19: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /usr/local/include/boost/core/ignore_unused.hpp:21:19: error: ‘constexpr’ does not name a type BOOST_FORCEINLINE BOOST_CXX14_CONSTEXPR void ignore_unused() ^ /usr/local/include/boost/core/ignore_unused.hpp:21:19: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 In file included from /usr/local/include/boost/thread/mutex.hpp:16:0, from /usr/local/include/boost/thread/pthread/thread_data.hpp:13, from src/caffe/common.cpp:1: /usr/include/c++/5/bits/stl_pair.h:214:5: note: template argument deduction/substitution failed: In file included from /usr/local/include/boost/type_index/stl_type_index.hpp:22:0, from /usr/local/include/boost/type_index.hpp:29, from /usr/local/include/boost/function/function_base.hpp:21, from /usr/local/include/boost/function/detail/prologue.hpp:17, from /usr/local/include/boost/function/function_template.hpp:13, from /usr/local/include/boost/function/detail/maybe_include.hpp:13, from /usr/local/include/boost/function/function0.hpp:11, from /usr/local/include/boost/python/errors.hpp:13, from /usr/local/include/boost/python/handle.hpp:11, from /usr/local/include/boost/python/args_fwd.hpp:10, from /usr/local/include/boost/python/args.hpp:10, from /usr/local/include/boost/python.hpp:11, from src/caffe/layer_factory.cpp:4: /usr/local/include/boost/type_index/type_index_facade.hpp:191:25: note: ‘boost::typeindex::stl_type_index’ is not derived from ‘const std::pair<_T1, _T2>’ return Derived(lhs) == rhs; ^ src/caffe/layer_factory.cpp: In function ‘boost::shared_ptrcaffe::Layer<Dtype > caffe::GetTanHLayer(const caffe::LayerParameter&) [with Dtype = double]’: src/caffe/layer_factory.cpp:237:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/caffe/layer_factory.cpp: In function ‘boost::shared_ptrcaffe::Layer<Dtype > caffe::GetTanHLayer(const caffe::LayerParameter&) [with Dtype = float]’: src/caffe/layer_factory.cpp: In function ‘boost::shared_ptrcaffe::Layer<Dtype > caffe::GetConvolutionLayer(const caffe::LayerParameter&) [with Dtype = double]’: src/caffe/layer_factory.cpp:71:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/caffe/layer_factory.cpp: In function ‘boost::shared_ptrcaffe::Layer<Dtype > caffe::GetConvolutionLayer(const caffe::LayerParameter&) [with Dtype = float]’: src/caffe/layer_factory.cpp:71:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Makefile:575: recipe for target '.build_release/src/caffe/layer_factory.o' failed make: *** [.build_release/src/caffe/layer_factory.o] Error 1 Steps to reproduce If you are having difficulty building Caffe or training a model, please ask the caffe-users mailing list. If you are reporting a build error that seems to be due to a bug in Caffe, please attach your build configuration (either Makefile.config or CMakeCache.txt) and the output of the make (or cmake) command. MY system configuration Operating system: ubuntu16.04 CUDA version (if applicable):CUDA 8.0 CUDNN version (if applicable): CUDnn5.0 Python or MATLAB version (for pycaffe and matcaffe respectively):Python 2.7 MATLAB2014a 急求高手解决 ! 解决了支付宝直接发红包!
mac下安装caffe,make时遇到的问题
mac下安装caffe,make时遇到的问题 CXX/LD -o .build_release/tools/caffe.bin clang: warning: argument unused during compilation: '-pthread' Undefined symbols for architecture x86_64: "google::SetUsageMessage(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from: _main in caffe.o "google::SetVersionString(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from: _main in caffe.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [.build_release/tools/caffe.bin] Error 1 如上,该怎么解决,谢谢
关于caffe修改源码和编译的疑问
配置完caffe之后,最近想做一件事情,就是我想对制作lmdb文件的过程做一点修改,所以我打算改一下原来的convert_imageset.cpp文件,并重新编译生成可执行文件convert_imageset。 首先,我尝试着用: g++ convert_imageset.cpp -o convert_imageset 编译,这时候终端提醒的错误是: convert_imageset.cpp:22:29: fatal error: caffe/util/db.hpp: 没有那个文件或目录 #include "caffe/util/db.hpp" 意识到是头文件的问题,那我就重新试了一下: g++ convert_imageset.cpp -o convert_imageset -I/home/lichenyang/caffe/include 结果出现了下面的错误: /home/lichenyang/caffe/include/caffe/util/device_alternate.hpp:34:23: fatal error: cublas_v2.h: 没有那个文件或目录 #include <cublas_v2.h> 这个我估计是CPU和GPU的问题。 我的显卡是A卡,当时在配置caffe的时候修改了Makefile.config,将CPU_ONLY := 1的注释去掉了,caffe的配置也没有出错。 所以我的疑问是:如果我想对caffe的某个.cpp文件进行修改(比如:convert_imageset.cpp),那么我在修改完成之后,应该如何正确变编译出可执行文件?有没有大神能够指点一下,或者提供一下这方面的博文,感激不尽!
caffe安装中出现msb4062
错误 1 error MSB4062: 未能从程序集 E:\caffe\caffe-master\NugetPackages\OpenCV.2.4.10\build\native\\private\coapp.NuGetNativeMSBuildTasks.dll 加载任务“NuGetPackageOverlay”。未能加载文件或程序集“file:///E:\caffe\caffe-master\NugetPackages\OpenCV.2.4.10\build\native\private\coapp.NuGetNativeMSBuildTasks.dll”或它的某一个依赖项。系统找不到指定的文件。 请确认 <UsingTask> 声明正确,该程序集及其所有依赖项都可用,并且该任务包含实现 Microsoft.Build.Framework.ITask 的公共类。 E:\caffe\caffe-master\NugetPackages\OpenCV.2.4.10\build\native\OpenCV.targets 772 5 libcaffe 全是这一个问题,有解决的方法么?谢谢!
windows 编译配置caffe 出错
版本:Windows 10 Visual Studio 2013 Matlab R2016b CUDA 8.0.44 cuDNN v4 步骤按照 http://blog.csdn.net/lk274857347/article/details/53588049 这个博主的教程来的 在4.7编译那一步的时候,出现了这个错误:error msb4030: "否" 对于"CL"任务中的 "TreatWarningAsError" 参数是一个无效值 - 另外原教程中的Anaconda我没下载,因为是新手不太懂,而且看后面没有用到就没有下载 请教大神们,本例中msb4030的错误该怎么解决呢? 非常感谢!!!
紧急求助!!ubuntu16.04 caffe make clean报错!!
我的系统ubuntu16.04,昨天make 了一下没马上清,今天开机在caffe根目录下水make clean 发现报错 rm:无法删除 ".build_release" : 不允许操作 makefile:660:recipe for target "clean" failed make:[clean] error 1 (ignored) rm:无法删除 "build ": 不允许操作 makefile:660:recipe for target "clean" failed make:[clean] error 1 (ignored) rm:无法删除 "distribute": 不允许操作 makefile:660:recipe for target "clean" failed make:[clean] error 1 (ignored) 我什么文件都没改呀!以前一直正常。 跪求各位大侠赐教!! 请问“输出目录”或“输出文件夹”在哪个位置,本人小白请楼下大侠指点,多谢!
caffe 运行mnist实例出错,请求各位指点
F0220. check failed:fd!=-1(-1VS.-1) File not found: lenet_train_test.prototxt
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它是一个过程,是一个不断累积、不断沉淀、不断总结、善于传达自己的个人见解以及乐于分享的过程。
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过...
有哪些让程序员受益终生的建议
从业五年多,辗转两个大厂,出过书,创过业,从技术小白成长为基层管理,联合几个业内大牛回答下这个问题,希望能帮到大家,记得帮我点赞哦。 敲黑板!!!读了这篇文章,你将知道如何才能进大厂,如何实现财务自由,如何在工作中游刃有余,这篇文章很长,但绝对是精品,记得帮我点赞哦!!!! 一腔肺腑之言,能看进去多少,就看你自己了!!! 目录: 在校生篇: 为什么要尽量进大厂? 如何选择语言及方...
大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了
大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...
linux系列之常用运维命令整理笔录
本博客记录工作中需要的linux运维命令,大学时候开始接触linux,会一些基本操作,可是都没有整理起来,加上是做开发,不做运维,有些命令忘记了,所以现在整理成博客,当然vi,文件操作等就不介绍了,慢慢积累一些其它拓展的命令,博客不定时更新 free -m 其中:m表示兆,也可以用g,注意都要小写 Men:表示物理内存统计 total:表示物理内存总数(total=used+free) use...
比特币原理详解
一、什么是比特币 比特币是一种电子货币,是一种基于密码学的货币,在2008年11月1日由中本聪发表比特币白皮书,文中提出了一种去中心化的电子记账系统,我们平时的电子现金是银行来记账,因为银行的背后是国家信用。去中心化电子记账系统是参与者共同记账。比特币可以防止主权危机、信用风险。其好处不多做赘述,这一层面介绍的文章很多,本文主要从更深层的技术原理角度进行介绍。 二、问题引入 假设现有4个人...
程序员接私活怎样防止做完了不给钱?
首先跟大家说明一点,我们做 IT 类的外包开发,是非标品开发,所以很有可能在开发过程中会有这样那样的需求修改,而这种需求修改很容易造成扯皮,进而影响到费用支付,甚至出现做完了项目收不到钱的情况。 那么,怎么保证自己的薪酬安全呢? 我们在开工前,一定要做好一些证据方面的准备(也就是“讨薪”的理论依据),这其中最重要的就是需求文档和验收标准。一定要让需求方提供这两个文档资料作为开发的基础。之后开发...
网页实现一个简单的音乐播放器(大佬别看。(⊙﹏⊙))
今天闲着无事,就想写点东西。然后听了下歌,就打算写个播放器。 于是乎用h5 audio的加上js简单的播放器完工了。 演示地点演示 html代码如下` music 这个年纪 七月的风 音乐 ` 然后就是css`*{ margin: 0; padding: 0; text-decoration: none; list-...
Python十大装B语法
Python 是一种代表简单思想的语言,其语法相对简单,很容易上手。不过,如果就此小视 Python 语法的精妙和深邃,那就大错特错了。本文精心筛选了最能展现 Python 语法之精妙的十个知识点,并附上详细的实例代码。如能在实战中融会贯通、灵活使用,必将使代码更为精炼、高效,同时也会极大提升代码B格,使之看上去更老练,读起来更优雅。
数据库优化 - SQL优化
以实际SQL入手,带你一步一步走上SQL优化之路!
2019年11月中国大陆编程语言排行榜
2019年11月2日,我统计了某招聘网站,获得有效程序员招聘数据9万条。针对招聘信息,提取编程语言关键字,并统计如下: 编程语言比例 rank pl_ percentage 1 java 33.62% 2 cpp 16.42% 3 c_sharp 12.82% 4 javascript 12.31% 5 python 7.93% 6 go 7.25% 7 p...
通俗易懂地给女朋友讲:线程池的内部原理
餐盘在灯光的照耀下格外晶莹洁白,女朋友拿起红酒杯轻轻地抿了一小口,对我说:“经常听你说线程池,到底线程池到底是个什么原理?”
《奇巧淫技》系列-python!!每天早上八点自动发送天气预报邮件到QQ邮箱
将代码部署服务器,每日早上定时获取到天气数据,并发送到邮箱。 也可以说是一个小型人工智障。 知识可以运用在不同地方,不一定非是天气预报。
经典算法(5)杨辉三角
杨辉三角 是经典算法,这篇博客对它的算法思想进行了讲解,并有完整的代码实现。
英特尔不为人知的 B 面
从 PC 时代至今,众人只知在 CPU、GPU、XPU、制程、工艺等战场中,英特尔在与同行硬件芯片制造商们的竞争中杀出重围,且在不断的成长进化中,成为全球知名的半导体公司。殊不知,在「刚硬」的背后,英特尔「柔性」的软件早已经做到了全方位的支持与支撑,并持续发挥独特的生态价值,推动产业合作共赢。 而对于这一不知人知的 B 面,很多人将其称之为英特尔隐形的翅膀,虽低调,但是影响力却不容小觑。 那么,在...
腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹?
昨天,有网友私信我,说去阿里面试,彻底的被打击到了。问了为什么网上大量使用ThreadLocal的源码都会加上private static?他被难住了,因为他从来都没有考虑过这个问题。无独有偶,今天笔者又发现有网友吐槽了一道腾讯的面试题,我们一起来看看。 腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹? 在互联网职场论坛,一名程序员发帖求助到。二面腾讯,其中一个算法题:64匹...
面试官:你连RESTful都不知道我怎么敢要你?
干货,2019 RESTful最贱实践
为啥国人偏爱Mybatis,而老外喜欢Hibernate/JPA呢?
关于SQL和ORM的争论,永远都不会终止,我也一直在思考这个问题。昨天又跟群里的小伙伴进行了一番讨论,感触还是有一些,于是就有了今天这篇文。 声明:本文不会下关于Mybatis和JPA两个持久层框架哪个更好这样的结论。只是摆事实,讲道理,所以,请各位看官勿喷。 一、事件起因 关于Mybatis和JPA孰优孰劣的问题,争论已经很多年了。一直也没有结论,毕竟每个人的喜好和习惯是大不相同的。我也看...
白话阿里巴巴Java开发手册高级篇
不久前,阿里巴巴发布了《阿里巴巴Java开发手册》,总结了阿里巴巴内部实际项目开发过程中开发人员应该遵守的研发流程规范,这些流程规范在一定程度上能够保证最终的项目交付质量,通过在时间中总结模式,并推广给广大开发人员,来避免研发人员在实践中容易犯的错误,确保最终在大规模协作的项目中达成既定目标。 无独有偶,笔者去年在公司里负责升级和制定研发流程、设计模板、设计标准、代码标准等规范,并在实际工作中进行...
SQL-小白最佳入门sql查询一
不要偷偷的查询我的个人资料,即使你再喜欢我,也不要这样,真的不好;
redis分布式锁,面试官请随便问,我都会
文章有点长并且绕,先来个图片缓冲下! 前言 现在的业务场景越来越复杂,使用的架构也就越来越复杂,分布式、高并发已经是业务要求的常态。像腾讯系的不少服务,还有CDN优化、异地多备份等处理。 说到分布式,就必然涉及到分布式锁的概念,如何保证不同机器不同线程的分布式锁同步呢? 实现要点 互斥性,同一时刻,智能有一个客户端持有锁。 防止死锁发生,如果持有锁的客户端崩溃没有主动释放锁,也要保证锁可以正常释...
项目中的if else太多了,该怎么重构?
介绍 最近跟着公司的大佬开发了一款IM系统,类似QQ和微信哈,就是聊天软件。我们有一部分业务逻辑是这样的 if (msgType = "文本") { // dosomething } else if(msgType = "图片") { // doshomething } else if(msgType = "视频") { // doshomething } else { // doshom...
Nginx 原理和架构
Nginx 是一个免费的,开源的,高性能的 HTTP 服务器和反向代理,以及 IMAP / POP3 代理服务器。Nginx 以其高性能,稳定性,丰富的功能,简单的配置和低资源消耗而闻名。 Nginx 的整体架构 Nginx 里有一个 master 进程和多个 worker 进程。master 进程并不处理网络请求,主要负责调度工作进程:加载配置、启动工作进程及非停升级。worker 进程负责处...
Python 编程开发 实用经验和技巧
Python是一门很灵活的语言,也有很多实用的方法,有时候实现一个功能可以用多种方法实现,我这里总结了一些常用的方法和技巧,包括小数保留指定位小数、判断变量的数据类型、类方法@classmethod、制表符中文对齐、遍历字典、datetime.timedelta的使用等,会持续更新......
YouTube排名第一的励志英文演讲《Dream(梦想)》
Idon’t know what that dream is that you have, I don't care how disappointing it might have been as you've been working toward that dream,but that dream that you’re holding in your mind, that it’s po...
“狗屁不通文章生成器”登顶GitHub热榜,分分钟写出万字形式主义大作
一、垃圾文字生成器介绍 最近在浏览GitHub的时候,发现了这样一个骨骼清奇的雷人项目,而且热度还特别高。 项目中文名:狗屁不通文章生成器 项目英文名:BullshitGenerator 根据作者的介绍,他是偶尔需要一些中文文字用于GUI开发时测试文本渲染,因此开发了这个废话生成器。但由于生成的废话实在是太过富于哲理,所以最近已经被小伙伴们给玩坏了。 他的文风可能是这样的: 你发现,...
程序员:我终于知道post和get的区别
是一个老生常谈的话题,然而随着不断的学习,对于以前的认识有很多误区,所以还是需要不断地总结的,学而时习之,不亦说乎
《程序人生》系列-这个程序员只用了20行代码就拿了冠军
你知道的越多,你不知道的越多 点赞再看,养成习惯GitHub上已经开源https://github.com/JavaFamily,有一线大厂面试点脑图,欢迎Star和完善 前言 这一期不算《吊打面试官》系列的,所有没前言我直接开始。 絮叨 本来应该是没有这期的,看过我上期的小伙伴应该是知道的嘛,双十一比较忙嘛,要值班又要去帮忙拍摄年会的视频素材,还得搞个程序员一天的Vlog,还要写BU...
加快推动区块链技术和产业创新发展,2019可信区块链峰会在京召开
11月8日,由中国信息通信研究院、中国通信标准化协会、中国互联网协会、可信区块链推进计划联合主办,科技行者协办的2019可信区块链峰会将在北京悠唐皇冠假日酒店开幕。   区块链技术被认为是继蒸汽机、电力、互联网之后,下一代颠覆性的核心技术。如果说蒸汽机释放了人类的生产力,电力解决了人类基本的生活需求,互联网彻底改变了信息传递的方式,区块链作为构造信任的技术有重要的价值。   1...
Java世界最常用的工具类库
Apache Commons Apache Commons有很多子项目 Google Guava 参考博客
相关热词 c# 引用mysql c#动态加载非托管dll c# 两个表数据同步 c# 返回浮点json c# imap 链接状态 c# 漂亮字 c# 上取整 除法 c#substring c#中延时关闭 c#线段拖拉
立即提问

相似问题

3
【caffe例子问题】 net_->num_inputs() 为0
1
ninja 和 VS2015编译caffe-windows失败
1
ubantu在IDE中运行caffe-ssd报错, invalid pointer 但是使用终端可以运行
1
caffe2多次载入模型问题,在django后端中每次有用户访问时载入一个模型,第一个可以,之后报错
1
关于window下安装caffe环境matcaffe接口的问题
0
win7 编译caffe报错,搞了一天了,请大牛赐教
1
caffe编译完成 想要打开的时候出错:提示libcaffe.lib该文件没有与之关联的应用来执行该操作
1
我在使用caffe进行训练的时候在未耗尽显存的情况下显示显存溢出
2
Ubuntu配置caffe执行make all命令报错(各位大哥 救救孩子吧~~折腾一整天了)
1
ubuntu16.04安装openpose编译出现错误/libopenpose.so.1.4.0:对‘caffe::Net未定义的引用
3
C++开发图像分类、分割、检测软件,用caffe,caffe2,pytouch哪个框架好
0
在caffe安装中 make 出错 怎么解决啊
0
caffe 配置 make、make test 通过,但是make runtest报错
1
win10系统,py_faster_rcnn用caffe训练时出现check failure stack trace请问这是什么问题?
1
1机多卡的2080TI显卡在Caffe 、Mxnet、Tensorflow等框架下无法实现多GPU加速
2
caffe编译报错求助!!!
1
caffe编译报错求助!!
2
python配置caffe,vs编译caffe遇到error
1
caffe-ssd在create_data.sh的时候报错No module named numpy,可是我已经有了numpy啊!
0
用VS对caffe生成解决方案的时候不能生成object