Open PayneYong opened 6 years ago
I think you should specify your pretrained model's path in https://github.com/syfafterzy/SVDNet-for-Pedestrian-Retrieval/blob/439ae0e086304cc8e38c8112b2a96e1a8ebdf647/SVDNet/caffenet/train_basemodel.sh#L4.
Good luck!
Thank you very much! I have set the wrong path. It works now!
this wrog run because, you dont have permision for the file
Help! When I run the command: sh train_basemodel.sh The error occurs.
I0427 17:13:36.464996 3570 net.cpp:255] Network initialization done. I0427 17:13:36.465082 3570 solver.cpp:72] Finetuning from /home/payne/program/caffe-master/SVDNet/caffenet HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 140329486119360:
000: ../../../src/H5F.c line 410 in H5Fis_hdf5(): unable open file
001: ../../../src/H5Fint.c line 537 in H5F_is_hdf5(): unable to locate file signature
002: ../../../src/H5FDint.c line 124 in H5FD_locate_signature(): unable to read file signature
003: ../../../src/H5FDint.c line 217 in H5FD_read(): driver read request failed
004: ../../../src/H5FDsec2.c line 717 in H5FD_sec2_read(): file read failed: time = Fri Apr 27 17:13:36 2018
, filename = '/home/payne/program/caffe-master/SVDNet/caffenet', file descriptor = 6, errno = 21, error message = 'Is a directory', buf = 0x7ffc4984af80, total read size = 8, bytes this sub-read = 8, bytes actually read = 18446744073709551615, offset = 0 major: Low-level I/O minor: Read failed HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 140329486119360:
000: ../../../src/H5F.c line 579 in H5Fopen(): unable to open file
001: ../../../src/H5Fint.c line 1208 in H5F_open(): unable to read superblock
002: ../../../src/H5Fsuper.c line 271 in H5F__super_read(): unable to locate file signature
003: ../../../src/H5FDint.c line 124 in H5FD_locate_signature(): unable to read file signature
004: ../../../src/H5FDint.c line 217 in H5FD_read(): driver read request failed
005: ../../../src/H5FDsec2.c line 717 in H5FD_sec2_read(): file read failed: time = Fri Apr 27 17:13:36 2018
, filename = '/home/payne/program/caffe-master/SVDNet/caffenet', file descriptor = 6, errno = 21, error message = 'Is a directory', buf = 0x7ffc4984a5e0, total read size = 8, bytes this sub-read = 8, bytes actually read = 18446744073709551615, offset = 0 major: Low-level I/O minor: Read failed F0427 17:13:36.477622 3570 net.cpp:791] Check failed: file_hid >= 0 (-1 vs. 0) Couldn't open /home/payne/program/caffe-master/SVDNet/caffenet Check failure stack trace: @ 0x7fa10090d0cd google::LogMessage::Fail() @ 0x7fa10090ef33 google::LogMessage::SendToLog() @ 0x7fa10090cc28 google::LogMessage::Flush() @ 0x7fa10090f999 google::LogMessageFatal::~LogMessageFatal() @ 0x7fa100df6755 caffe::Net<>::CopyTrainedLayersFromHDF5() @ 0x7fa100df78a3 caffe::Net<>::CopyTrainedLayersFrom() @ 0x7fa100e304eb caffe::LoadNetWeights<>() @ 0x7fa100e32ca0 caffe::Solver<>::InitTrainNet() @ 0x7fa100e33213 caffe::Solver<>::Init() @ 0x7fa100e3353f caffe::Solver<>::Solver() @ 0x7fa100e15451 caffe::Creator_SGDSolver<>() @ 0x557788d7370f (unknown) @ 0x557788d6f690 (unknown) @ 0x7fa0fef5f1c1 __libc_start_main @ 0x557788d7014a (unknown) @ (nil) (unknown) Aborted (core dumped)