Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown solver type: SGD #6793

Open
starkdm opened this issue Jun 15, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@starkdm
Copy link

commented Jun 15, 2019

I'm trying to build Caffe under Windows 10 and use it in my Visual Studio C++ project (VS 2017, v141 toolset). The build was successful as the libraries linking (although I had to have difficulties). I conducted tests after the build, and also ran "runtest" project. All tests were successfully.

Caffe build options:

INFO: ============================================================ 
INFO: Summary: 
INFO: ============================================================ 
INFO: MSVC_VERSION = 14 
INFO: WITH_NINJA = 0 
INFO: CMAKE_GENERATOR = "Visual Studio 14 2015 Win64" 
INFO: CPU_ONLY = 1 
INFO: CUDA_ARCH_NAME = Auto 
INFO: CMAKE_CONFIG = Debug
INFO: USE_NCCL = 0 
INFO: CMAKE_BUILD_SHARED_LIBS = 0 
INFO: PYTHON_VERSION = 2 
INFO: BUILD_PYTHON = 0
INFO: BUILD_PYTHON_LAYER = 1 
INFO: BUILD_MATLAB = 0 
INFO: PYTHON_EXE = "python" 
INFO: RUN_TESTS = 1
INFO: RUN_LINT = 0 
INFO: RUN_INSTALL = 0 
INFO: ============================================================ 

Program has triggered a breakpoint when CreateSolver method called.
Full output:

WARNING: Logging before InitGoogleLogging() is written to STDERR
F0615 23:44:43.842417 14808 solver_factory.cpp:29] Check failed: registry.count(type) == 1 (0 vs. 1) Unknown solver type: SGD (known types: )
*** Check failure stack trace: ***

main.cpp: https://pastebin.com/w43ZgaXZ
solver.prototxt: https://pastebin.com/Dt2hym79

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.