Skip to content

Instantly share code, notes, and snippets.

@amiltonwong
Created November 10, 2015 17:37
Show Gist options
  • Save amiltonwong/6bd52ab3d48462f9990f to your computer and use it in GitHub Desktop.
Save amiltonwong/6bd52ab3d48462f9990f to your computer and use it in GitHub Desktop.
segnet make runtest error
root@milton-Desktop:~/Downloads/caffe-segnet# make runtest
.build_release/tools/caffe
caffe: command line brew
usage: caffe <command> <args>
commands:
train train or finetune a model
test score a model
device_query show GPU diagnostic information
time benchmark model execution time
Flags from tools/caffe.cpp:
-gpu (Run in GPU mode on given device ID.) type: int32 default: -1
-iterations (The number of iterations to run.) type: int32 default: 50
-model (The model definition protocol buffer text file..) type: string
default: ""
-snapshot (Optional; the snapshot solver state to resume training.)
type: string default: ""
-solver (The solver definition protocol buffer text file.) type: string
default: ""
-weights (Optional; the pretrained weights to initialize finetuning. Cannot
be set simultaneously with snapshot.) type: string default: ""
.build_release/test/test_all.testbin 0 --gtest_shuffle
Cuda number of devices: 1
Setting to use device 0
Current device id: 0
Note: Randomizing tests' orders with a seed of 25156 .
[==========] Running 1448 tests from 230 test cases.
[----------] Global test environment set-up.
[----------] 3 tests from SplitLayerTest/0, where TypeParam = caffe::CPUDevice<float>
[ RUN ] SplitLayerTest/0.Test
[ OK ] SplitLayerTest/0.Test (182 ms)
[ RUN ] SplitLayerTest/0.TestSetup
[ OK ] SplitLayerTest/0.TestSetup (0 ms)
[ RUN ] SplitLayerTest/0.TestGradient
[ OK ] SplitLayerTest/0.TestGradient (3 ms)
[----------] 3 tests from SplitLayerTest/0 (185 ms total)
[----------] 6 tests from SoftmaxWithLossLayerTest/0, where TypeParam = caffe::CPUDevice<float>
[ RUN ] SoftmaxWithLossLayerTest/0.TestFrequencyWeightedGradient
F1111 01:33:16.583786 25422 softmax_loss_layer.cpp:38] Check failed: this->layer_param_.loss_param().class_weighting_size() == bottom[0]->channels() (0 vs. 8) Number of class weight values does not match the number of classes.
*** Check failure stack trace: ***
@ 0x2aaaae8781bd google::LogMessage::Fail()
@ 0x2aaaae87a94f google::LogMessage::SendToLog()
@ 0x2aaaae877dbb google::LogMessage::Flush()
@ 0x2aaaae87b1dd google::LogMessageFatal::~LogMessageFatal()
@ 0x2aaab0526f15 caffe::SoftmaxWithLossLayer<>::LayerSetUp()
@ 0x51f0d2 caffe::GradientChecker<>::CheckGradientExhaustive()
@ 0x5fe197 caffe::SoftmaxWithLossLayerTest_TestFrequencyWeightedGradient_Test<>::TestBody()
@ 0x896b4d testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x88eae1 testing::Test::Run()
@ 0x88ebc6 testing::TestInfo::Run()
@ 0x88ed07 testing::TestCase::Run()
@ 0x88f05e testing::internal::UnitTestImpl::RunAllTests()
@ 0x8966cd testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x88e13e testing::UnitTest::Run()
@ 0x4da1d2 main
@ 0x2aaab11ce76d (unknown)
@ 0x4e0215 (unknown)
make: *** [runtest] Aborted (core dumped)
root@milton-Desktop:~/Downloads/caffe-segnet#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment