cambridge0427 / lightfield

10 stars 1 forks source link

Error with HDF5 #1

Closed TheFullMoon closed 8 years ago

TheFullMoon commented 8 years ago

I just ran it on Mac and it seems the hdf5 library triggers a set of problems. It starts with a series of HDF objects not found. My guess is that it's a version problem with HDF, but I'm not sure which version of HDF5 to use. Thank you!

I attach the error information, the h5 file is the bedroom.h5 file from Heidelburg:

dhcp-10-132-199-187:initialEstimation apple$ ./initial_estimation bedroom mkdir: ../data/initial_results/bedroom: File exists opening hdf5 container:../data/input/bedroom.h5 container opened successfully. HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 0:

000: H5D.c line 358 in H5Dopen2(): not found

major: Dataset
minor: Object not found

001: H5Gloc.c line 430 in H5G_loc_find(): can't find object

major: Symbol table
minor: Object not found

002: H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed

major: Symbol table
minor: Object not found

003: H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed

major: Symbol table
minor: Callback failed

004: H5Gloc.c line 385 in H5G_loc_find_cb(): object 'LF' doesn't exist

major: Symbol table
minor: Object not found

failed to get resolution info. HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 0:

000: H5D.c line 358 in H5Dopen2(): not found

major: Dataset
minor: Object not found

001: H5Gloc.c line 430 in H5G_loc_find(): can't find object

major: Symbol table
minor: Object not found

002: H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed

major: Symbol table
minor: Object not found

003: H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed

major: Symbol table
minor: Callback failed

004: H5Gloc.c line 385 in H5G_loc_find_cb(): object 'LF' doesn't exist

major: Symbol table
minor: Object not found

data set 'LF' opened. HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 0:

000: H5D.c line 358 in H5Dopen2(): not found

major: Dataset
minor: Object not found

001: H5Gloc.c line 430 in H5G_loc_find(): can't find object

major: Symbol table
minor: Object not found

002: H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed

major: Symbol table
minor: Object not found

003: H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed

major: Symbol table
minor: Callback failed

004: H5Gloc.c line 385 in H5G_loc_find_cb(): object 'LF' doesn't exist

major: Symbol table
minor: Object not found

light field data set 'LF' is not 4 or 5-dimensional. LF data loading failed! 0 HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 0:

000: H5D.c line 358 in H5Dopen2(): not found

major: Dataset
minor: Object not found

001: H5Gloc.c line 430 in H5G_loc_find(): can't find object

major: Symbol table
minor: Object not found

002: H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed

major: Symbol table
minor: Object not found

003: H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed

major: Symbol table
minor: Callback failed

004: H5Gloc.c line 385 in H5G_loc_find_cb(): object 'DEPTHS' doesn't exist

major: Symbol table
minor: Object not found

HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 0:

000: H5D.c line 358 in H5Dopen2(): not found

major: Dataset
minor: Object not found

001: H5Gloc.c line 430 in H5G_loc_find(): can't find object

major: Symbol table
minor: Object not found

002: H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed

major: Symbol table
minor: Object not found

003: H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed

major: Symbol table
minor: Callback failed

004: H5Gloc.c line 385 in H5G_loc_find_cb(): object 'DEPTHT' doesn't exist

major: Symbol table
minor: Object not found

HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 0:

000: H5D.c line 358 in H5Dopen2(): not found

major: Dataset
minor: Object not found

001: H5Gloc.c line 430 in H5G_loc_find(): can't find object

major: Symbol table
minor: Object not found

002: H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed

major: Symbol table
minor: Object not found

003: H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed

major: Symbol table
minor: Callback failed

004: H5Gloc.c line 385 in H5G_loc_find_cb(): object 'COHS' doesn't exist

major: Symbol table
minor: Object not found

HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 0:

000: H5D.c line 358 in H5Dopen2(): not found

major: Dataset
minor: Object not found

001: H5Gloc.c line 430 in H5G_loc_find(): can't find object

major: Symbol table
minor: Object not found

002: H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed

major: Symbol table
minor: Object not found

003: H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed

major: Symbol table
minor: Callback failed

004: H5Gloc.c line 385 in H5G_loc_find_cb(): object 'COHT' doesn't exist

major: Symbol table
minor: Object not found

Assertion failed: ((!m_imgDepthS.empty()) && (!m_imgDepthT.empty()) && (!m_imgCohS.empty()) && (!m_imgCohT.empty())), function reviseCoh, file lightfield.cpp, line 466. Abort trap: 6

cambridge0427 commented 8 years ago

It's because the input data format is not compatible. The code to read data is for a certain dataset. If other datasets are needed, someone needs to update the part of code to load data.