Open hsqaihkl opened 6 years ago
C:\Users\Water\Desktop\idla-person-reid-master\build\Release>run_cuhk03.exe -i .\ Attempting to load the CUHK03 labeled dataset from '.\' [should take up to 15 seconds in release mode]... 17.0197 seconds to load dataset.
layer<0> loss_multiclass_log_lr layer<1> fc (num_outputs=2) learning_rate_mult=1 weight_decay_mult=1 bias_learning_rate_mult=1 bias_weight_decay_mult=0 layer<2> relu layer<3> bn_fc eps=0.0001 running_stats_window_size=100 learning_rate_mult=1 weight_decay_mult=0 bias_learning_rate_mult=1 bias_weight_decay_mult=1 layer<4> fc (num_outputs=500) learning_rate_mult=1 weight_decay_mult=1 bias_learning_rate_mult=1 bias_weight_decay_mult=0 layer<5> reinterpret (N=2) layer<6> max_pool (nr=2, nc=2, stride_y=2, stride_x=2, padding_y=0, padding_x=0) layer<7> relu layer<8> bn_con eps=0.0001 running_stats_window_size=100 learning_rate_mult=1 weight_decay_mult=0 bias_learning_rate_mult=1 bias_weight_decay_mult=1 layer<9> con (num_filters=25, nr=3, nc=3, stride_y=1, stride_x=1, padding_y=0, padding_x=0) learning_rate_mult=1 weight_decay_mult=1 bias_learning_rate_mult=1 bias_weight_decay_mult=0 layer<10> relu layer<11> bn_con eps=0.0001 running_stats_window_size=100 learning_rate_mult=1 weight_decay_mult=0 bias_learning_rate_mult=1 bias_weight_decay_mult=1 layer<12> con (num_filters=25, nr=5, nc=5, stride_y=5, stride_x=5, padding_y=0, padding_x=0) learning_rate_mult=1 weight_decay_mult=1 bias_learning_rate_mult=1 bias_weight_decay_mult=0 layer<13> relu layer<14> cross_neighborhood_differences (nr=5, nc=5) layer<15> max_pool (nr=2, nc=2, stride_y=2, stride_x=2, padding_y=0, padding_x=0) layer<16> relu layer<17> bn_con eps=0.0001 running_stats_window_size=100 learning_rate_mult=1 weight_decay_mult=0 bias_learning_rate_mult=1 bias_weight_decay_mult=1 layer<18> con (num_filters=25, nr=3, nc=3, stride_y=1, stride_x=1, padding_y=0, padding_x=0) learning_rate_mult=1 weight_decay_mult=1 bias_learning_rate_mult=1 bias_weight_decay_mult=0 layer<19> relu layer<20> bn_con eps=0.0001 running_stats_window_size=100 learning_rate_mult=1 weight_decay_mult=0 bias_learning_rate_mult=1 bias_weight_decay_mult=1 layer<21> con (num_filters=25, nr=3, nc=3, stride_y=1, stride_x=1, padding_y=0, padding_x=0) learning_rate_mult=1 weight_decay_mult=1 bias_learning_rate_mult=1 bias_weight_decay_mult=0 layer<22> max_pool (nr=2, nc=2, stride_y=2, stride_x=2, padding_y=0, padding_x=0) layer<23> relu layer<24> bn_con eps=0.0001 running_stats_window_size=100 learning_rate_mult=1 weight_decay_mult=0 bias_learning_rate_mult=1 bias_weight_decay_mult=1 layer<25> con (num_filters=20, nr=3, nc=3, stride_y=1, stride_x=1, padding_y=0, padding_x=0) learning_rate_mult=1 weight_decay_mult=1 bias_learning_rate_mult=1 bias_weight_decay_mult=0 layer<26> relu layer<27> bn_con eps=0.0001 running_stats_window_size=100 learning_rate_mult=1 weight_decay_mult=0 bias_learning_rate_mult=1 bias_weight_decay_mult=1 layer<28> con (num_filters=20, nr=3, nc=3, stride_y=1, stride_x=1, padding_y=0, padding_x=0) learning_rate_mult=1 weight_decay_mult=1 bias_learning_rate_mult=1 bias_weight_decay_mult=0 layer<29> input_rgb_image_pair
step#: 0 learning rate: 0.01 average loss: 0 percent complete: 0.00%
C:\Users\Water\Desktop\idla-person-reid-master\build\Release>
@ptran516 Hi ptran516,I try the command to run it,but I met the error.what‘s the problem?
@hsqaihkl I think I've seen this runtime issue before. I'll try to test this out by the end of the week.
Just to make sure, you're using Visual Studio 2017 on Windows 10?
Yes I am using Visual Studio 2017 on Windows 10!
@ptran516 Hi Ptran516 I have Rebuild my project with ‘’dlib 19.9, CUDA 9.1, CuDNN 7.1‘’ ,but the problem have not soled! Is that I make wrong way?
@ptran516 Hi Ptran516,I run this in VS2017 which have the error ,could you help me? You can download it . to solve the problem for help me. https://github.com/hsqaihkl/Dlib.
@hsqaihkl Sorry I haven't been very responsive; been busy.
Can you try running CMake and setting BUILD_TEST
to ON
? This will build an application called dtest
. Run dtest --runall
and see if the tests pass.
@ptran516 ,I'm sorry I haven't response you on time,busy too. I will try it and tell you the result later.
@hsqaihkl @ptran516 I am facing this issue. The core.h file is calling this function with two parameters whereas the loss.h file has this function with 3 parameters. Please guide me how to resolve this issue.
**Error C2672 'loss_multiclass_loglr::compute_loss_value_and_gradient': no matching overloaded function found ConsoleApplication3 e:\dlib\dlib-19.9\source\dlib\dnn\core.h
Error C2780 'double loss_multiclass_loglr::compute_loss_value_and_gradient(const dlib::tensor &,const_label_iterator,SUBNET &) const': expects 3 arguments - 2 provided ConsoleApplication3 e:\dlib\dlib-19.9\source\dlib\dnn\core.h 2404**
OUTPUT:
1>------ Rebuild All started: Project: ConsoleApplication3, Configuration: Debug x64 ------
1> source.cpp
1> input.cpp
1> difference_impl.cpp
1> dataset.cpp
1>c:\users\abdulrehman\documents\visual studio 2015\projects\consoleapplication3\packages\hdf5-v120-complete.1.8.15.2\lib\native\include\h5exception.h(89): warning C4251: 'H5::Exception::detail_message': class 'std::basic_string<char,std::char_traits
@arehmanAzam Could you commit you code to github? You paste the error directly, but I don't know how to find the error.
@hsqaihkl i have resolved the error. Actually i was directly loading the project in the Visual Studio and not compiling it with CMake and then building it. Thanks for responding.
@hsqaihkl Are you still having issues running the executable on Windows?
@ptran516 Yes.Because my project is based on windows.Could you gei me any sugesion?
@hsqaihkl i have working project in VS2015. If i may, i want to ask you that have you compiled the project in CMAKE. ??
Hi @hsqaihkl I have a same problem. step#: 0 learning rate: 0.01 average loss: 0 percent complete: 0.00% --->break Did you solve it?
@ptran516 Hi ptran516, thanks for your help at first. Now I need your help for anther problem I met. this is the error: Attempting to load the CUHK03 labeled dataset from 'C:\Users\Water\Desktop\idla-person-reid-master\build\bounding_box_train\' [should take up to 15 seconds in release mode]...
I trained the cuhk_03.mat on matlab