warmspringwinds / pytorch-cpp

Pytorch C++ Library
369 stars 68 forks source link

Where is the HDF5 file? #7

Open samhodge opened 6 years ago

samhodge commented 6 years ago
HDF5-DIAG: Error detected in HDF5 (1.8.19) thread 0:
  #000: /home/samh/dev/pytorch-cpp/CMake-hdf5-1.8.19/hdf5-1.8.19/src/H5F.c line 602 in H5Fopen(): unable to open file
    major: File accessibilty
    minor: Unable to open file
  #001: /home/samh/dev/pytorch-cpp/CMake-hdf5-1.8.19/hdf5-1.8.19/src/H5Fint.c line 990 in H5F_open(): unable to open file: time = Sun Mar 18 12:42:52 2018
, name = '../resnet34_fcn_pascal.h5', tent_flags = 0
    major: File accessibilty
    minor: Unable to open file
  #002: /home/samh/dev/pytorch-cpp/CMake-hdf5-1.8.19/hdf5-1.8.19/src/H5FD.c line 991 in H5FD_open(): open failed
    major: Virtual File Layer
    minor: Unable to initialize object
  #003: /home/samh/dev/pytorch-cpp/CMake-hdf5-1.8.19/hdf5-1.8.19/src/H5FDsec2.c line 337 in H5FD_sec2_open(): unable to open file: name = '../resnet34_fcn_pascal.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0
    major: File accessibilty
    minor: Unable to open file
terminate called after throwing an instance of 'H5::FileIException'
Aborted (core dumped)

I have resnet_34_8s_68.pth from your drop box will that work I got it from: https://github.com/warmspringwinds/pytorch-segmentation-detection via dropbox.

But I am unsure how to convert to hdf5 format.

warmspringwinds commented 6 years ago

@samhodge It's already converted here: https://github.com/warmspringwinds/pytorch-cpp#segmentation-pascal-voc

samhodge commented 6 years ago

Thank you I converted it myself, silly me.