CNTK is updated, now I get this error:
(cntk-py35) alex@alex-Aspire-VN7-791:~/Downloads/Ray-rn-4.20.4$ make g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/Command.cpp -o src/Command.o g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/DynamicKomi.cpp -o src/DynamicKomi.o g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/GoBoard.cpp -o src/GoBoard.o src/GoBoard.cpp: In function ‘void WritePlanes(std::vector<float>&, std::vector<float>&, std::vector<float>&, std::vector<float>*, const game_info_t*, const uct_node_t*, int, int)’: src/GoBoard.cpp:2000:9: warning: unused variable ‘c’ [-Wunused-variable] int c = game->board[p]; \ ^ src/GoBoard.cpp:2010:5: note: in expansion of macro ‘OUTPUT’ OUTPUT({ OUTPUT_FEATURE(data_basic, color == S_BLACK); }); ^ src/GoBoard.cpp:2000:9: warning: unused variable ‘c’ [-Wunused-variable] int c = game->board[p]; \ ^ src/GoBoard.cpp:2011:5: note: in expansion of macro ‘OUTPUT’ OUTPUT({ OUTPUT_FEATURE(data_basic, true); }); ^ src/GoBoard.cpp:2000:9: warning: unused variable ‘c’ [-Wunused-variable] int c = game->board[p]; \ ^ src/GoBoard.cpp:2013:5: note: in expansion of macro ‘OUTPUT’ OUTPUT({ OUTPUT_FEATURE(data_basic, p == koT); }); ^ src/GoBoard.cpp:2000:9: warning: unused variable ‘c’ [-Wunused-variable] int c = game->board[p]; \ ^ src/GoBoard.cpp:2018:5: note: in expansion of macro ‘OUTPUT’ OUTPUT({ OUTPUT_FEATURE(data_basic, ladder[0][p]); }); ^ src/GoBoard.cpp:2000:9: warning: unused variable ‘c’ [-Wunused-variable] int c = game->board[p]; \ ^ src/GoBoard.cpp:2019:5: note: in expansion of macro ‘OUTPUT’ OUTPUT({ OUTPUT_FEATURE(data_basic, ladder[1][p]); }); ^ src/GoBoard.cpp:2000:9: warning: unused variable ‘c’ [-Wunused-variable] int c = game->board[p]; \ ^ src/GoBoard.cpp:2023:7: note: in expansion of macro ‘OUTPUT’ OUTPUT({ ^ src/GoBoard.cpp:2000:9: warning: unused variable ‘c’ [-Wunused-variable] int c = game->board[p]; \ ^ src/GoBoard.cpp:2030:7: note: in expansion of macro ‘OUTPUT’ OUTPUT({ ^ src/GoBoard.cpp:2000:9: warning: unused variable ‘c’ [-Wunused-variable] int c = game->board[p]; \ ^ src/GoBoard.cpp:2049:5: note: in expansion of macro ‘OUTPUT’ OUTPUT({ data_move.push_back(0.0); }); ^ g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/Gtp.cpp -o src/Gtp.o src/Gtp.cpp: In function ‘void GTP_ray_best_sequence()’: src/Gtp.cpp:829:8: warning: unused variable ‘pos’ [-Wunused-variable] char pos[10]; ^ src/Gtp.cpp:831:7: warning: variable ‘point’ set but not used [-Wunused-but-set-variable] int point = PASS; ^ src/Gtp.cpp: In function ‘void GTP_ray_stat()’: src/Gtp.cpp:930:8: warning: unused variable ‘pos’ [-Wunused-variable] char pos[10]; ^ src/Gtp.cpp:932:7: warning: variable ‘point’ set but not used [-Wunused-but-set-variable] int point = PASS; ^ src/Gtp.cpp: In function ‘void DumpSparse(std::ostream&, std::vector<float>)’: src/Gtp.cpp:1026:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (auto i = 0; i < data.size(); i++) { ^ src/Gtp.cpp: In function ‘void DumpDense(std::ostream&, std::vector<float>)’: src/Gtp.cpp:1036:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (auto i = 0; i < data.size(); i++) { ^ src/Gtp.cpp: In function ‘void GTP_features_store()’: src/Gtp.cpp:1099:9: warning: unused variable ‘command’ [-Wunused-variable] char *command; ^ src/Gtp.cpp: In function ‘void GTP_stat_po()’: src/Gtp.cpp:1266:7: warning: unused variable ‘pos’ [-Wunused-variable] int pos = -1; ^ src/Gtp.cpp:1267:7: warning: unused variable ‘length’ [-Wunused-variable] int length; ^ src/Gtp.cpp:1268:7: warning: variable ‘pass_count’ set but not used [-Wunused-but-set-variable] int pass_count; ^ src/Gtp.cpp: At global scope: src/Gtp.cpp:1123:1: warning: ‘void GTP_stat()’ defined but not used [-Wunused-function] GTP_stat(void) ^ src/Gtp.cpp:133:14: warning: ‘next_token’ defined but not used [-Wunused-variable] static char *next_token; ^ src/Gtp.cpp:967:12: warning: ‘features_turn_count’ defined but not used [-Wunused-variable] static int features_turn_count = 0; ^ src/Gtp.cpp:968:12: warning: ‘features_turn_next’ defined but not used [-Wunused-variable] static int features_turn_next = 1; ^ g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/Ladder.cpp -o src/Ladder.o g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/Message.cpp -o src/Message.o src/Message.cpp: In function ‘void PrintBestSequence(std::ostream&, const game_info_t*, const uct_node_t*, int)’: src/Message.cpp:569:8: warning: unused variable ‘statistic’ [-Wunused-variable] auto statistic = root->statistic; ^ g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/MoveCache.cpp -o src/MoveCache.o g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/Nakade.cpp -o src/Nakade.o g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/Pattern.cpp -o src/Pattern.o g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/PatternHash.cpp -o src/PatternHash.o g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/Point.cpp -o src/Point.o g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/Rating.cpp -o src/Rating.o src/Rating.cpp: In function ‘int RatingMove(game_info_t*, int, std::mt19937_64*, LGR&)’: src/Rating.cpp:293:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (((*mt)() % 100) < tgr1_rate && game->moves > 0) { ^ src/Rating.cpp:310:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (((*mt)() % 100) < lgrf1_rate && game->moves > 0) { ^ g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/RayMain.cpp -o src/RayMain.o g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/Seki.cpp -o src/Seki.o g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/Semeai.cpp -o src/Semeai.o g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/Simulation.cpp -o src/Simulation.o src/Simulation.cpp: In function ‘int SimulationGenmove(game_info_t*, int)’: src/Simulation.cpp:66:7: warning: unused variable ‘pos’ [-Wunused-variable] int pos = -1; ^ src/Simulation.cpp:68:7: warning: variable ‘pass_count’ set but not used [-Wunused-but-set-variable] int pass_count; ^ g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/UctRating.cpp -o src/UctRating.o src/UctRating.cpp:81:15: warning: ‘criticality_init’ defined but not used [-Wunused-variable] static double criticality_init = CRITICALITY_INIT; ^ g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/UctSearch.cpp -o src/UctSearch.o In file included from /usr/local/cntk//Include/CNTKLibrary.h:32:0, from src/UctSearch.cpp:44: /usr/local/cntk//Include/CNTKLibraryInternals.h:40:0: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4702 4127) ^ In file included from /usr/local/cntk//Include/CNTKLibrary.h:32:0, from src/UctSearch.cpp:44: /usr/local/cntk//Include/CNTKLibraryInternals.h:90:0: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(push) ^ /usr/local/cntk//Include/CNTKLibraryInternals.h:91:0: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable : 4996) ^ /usr/local/cntk//Include/CNTKLibraryInternals.h:100:0: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(pop) ^ In file included from src/UctSearch.cpp:44:0: /usr/local/cntk//Include/CNTKLibrary.h: In constructor ‘CNTK::HTKFeatureConfiguration::HTKFeatureConfiguration(const wstring&, const wstring&, size_t, size_t, size_t, bool, bool)’: /usr/local/cntk//Include/CNTKLibrary.h:5378:16: warning: ‘CNTK::HTKFeatureConfiguration::m_dim’ will be initialized after [-Wreorder] size_t m_dim; ^ /usr/local/cntk//Include/CNTKLibrary.h:5377:22: warning: ‘std::__cxx11::wstring CNTK::HTKFeatureConfiguration::m_scp’ [-Wreorder] std::wstring m_scp; ^ /usr/local/cntk//Include/CNTKLibrary.h:5372:9: warning: when initialized here [-Wreorder] HTKFeatureConfiguration(const std::wstring& streamName, const std::wstring& scp, size_t dim, size_t left, size_t right, bool broadcast, bool definesMbSize = false) ^ src/UctSearch.cpp: In function ‘void UctSearchStat(game_info_t*, int, int)’: src/UctSearch.cpp:853:10: warning: variable ‘pass_wp’ set but not used [-Wunused-but-set-variable] double pass_wp; ^ src/UctSearch.cpp:854:10: warning: variable ‘best_wp’ set but not used [-Wunused-but-set-variable] double best_wp; ^ src/UctSearch.cpp:856:7: warning: variable ‘pre_simulated’ set but not used [-Wunused-but-set-variable] int pre_simulated; ^ src/UctSearch.cpp: In function ‘void WaitForEvaluationQueue()’: src/UctSearch.cpp:1432:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (eval_value_queue.size() > value_batch_size * 3 || eval_policy_queue.size() > policy_batch_size * 3) { ^ src/UctSearch.cpp:1432:85: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (eval_value_queue.size() > value_batch_size * 3 || eval_policy_queue.size() > policy_batch_size * 3) { ^ src/UctSearch.cpp: In function ‘int SelectMaxUcbChild(const game_info_t*, int, int)’: src/UctSearch.cpp:1851:6: warning: unused variable ‘pos’ [-Wunused-variable] int pos = uct_child[i].pos; ^ src/UctSearch.cpp: In function ‘void EvalPolicy(const std::vector<std::shared_ptr<policy_eval_req> >&, std::vector<float>&, std::vector<float>&, std::vector<float>&, std::vector<float>&, std::vector<float>&)’: src/UctSearch.cpp:2512:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < requests.size(); j++) { ^ src/UctSearch.cpp:2521:9: warning: unused variable ‘depth’ [-Wunused-variable] int depth = req->depth; ^ src/UctSearch.cpp: In function ‘void EvalValue(const std::vector<std::shared_ptr<value_eval_req> >&, std::vector<float>&, std::vector<float>&, std::vector<float>&, std::vector<float>&, std::vector<float>&, std::vector<float>&)’: src/UctSearch.cpp:2624:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < requests.size(); j++) { ^ In file included from src/UctSearch.cpp:44:0: /usr/local/cntk//Include/CNTKLibrary.h: In instantiation of ‘void CNTK::Value::ResizeOutputBuffer(const CNTK::Variable&, std::vector<std::vector<_RealType> >&) [with ElementType = long unsigned int]’: /usr/local/cntk//Include/CNTKLibrary.h:2773:57: required from here /usr/local/cntk//Include/CNTKLibrary.h:2890:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (auto seqIndex = 0; seqIndex < numOfSequences; seqIndex++) ^ g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/Utility.cpp -o src/Utility.o g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -c src/ZobristHash.cpp -o src/ZobristHash.o g++ -O3 -Wall -std=c++11 -std=c++1y -I/usr/local/cntk//Include/ -o ray src/Command.o src/DynamicKomi.o src/GoBoard.o src/Gtp.o src/Ladder.o src/Message.o src/MoveCache.o src/Nakade.o src/Pattern.o src/PatternHash.o src/Point.o src/Rating.o src/RayMain.o src/Seki.o src/Semeai.o src/Simulation.o src/UctRating.o src/UctSearch.o src/Utility.o src/ZobristHash.o -lm -pthread -L/usr/local/cntk//cntk/lib -leval src/UctSearch.o: In Funktion `GetVariableByName(std::vector<CNTK::Variable, std::allocator<CNTK::Variable> >, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, CNTK::Variable&)': UctSearch.cpp:(.text+0x14f3): Nicht definierter Verweis auf `CNTK::Variable::Name[abi:cxx11]() const' src/UctSearch.o: In Funktion `ReadWeights()': UctSearch.cpp:(.text+0x6ca0): Nicht definierter Verweis auf `CNTK::Function::Load(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, CNTK::DeviceDescriptor const&)' UctSearch.cpp:(.text+0x6e0d): Nicht definierter Verweis auf `CNTK::Function::Load(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, CNTK::DeviceDescriptor const&)' collect2: error: ld returned 1 exit status Makefile:23: die Regel für Ziel „ray“ scheiterte make: *** [ray] Fehler 1 (cntk-py35) alex@alex-Aspire-VN7-791:~/Downloads/Ray-rn-4.20.4$
|