syfafterzy / SVDNet-for-Pedestrian-Retrieval

Code for https://arxiv.org/abs/1703.05693
138 stars 47 forks source link

HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 140329486119360 #12

Open PayneYong opened 6 years ago

PayneYong commented 6 years ago

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

major: File accessibilty
minor: Not an HDF5 file

001: ../../../src/H5Fint.c line 537 in H5F_is_hdf5(): unable to locate file signature

major: File accessibilty
minor: Not an HDF5 file

002: ../../../src/H5FDint.c line 124 in H5FD_locate_signature(): unable to read file signature

major: Low-level I/O
minor: Unable to initialize object

003: ../../../src/H5FDint.c line 217 in H5FD_read(): driver read request failed

major: Virtual File Layer
minor: Read 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

major: File accessibilty
minor: Unable to open file

001: ../../../src/H5Fint.c line 1208 in H5F_open(): unable to read superblock

major: File accessibilty
minor: Read failed

002: ../../../src/H5Fsuper.c line 271 in H5F__super_read(): unable to locate file signature

major: File accessibilty
minor: Not an HDF5 file

003: ../../../src/H5FDint.c line 124 in H5FD_locate_signature(): unable to read file signature

major: Low-level I/O
minor: Unable to initialize object

004: ../../../src/H5FDint.c line 217 in H5FD_read(): driver read request failed

major: Virtual File Layer
minor: Read 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)

ghost commented 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!

PayneYong commented 6 years ago

Thank you very much! I have set the wrong path. It works now!

Esdrassousa commented 4 years ago

this wrog run because, you dont have permision for the file