Coder Social home page Coder Social logo

Comments (6)

xinario avatar xinario commented on June 7, 2024

Is the hdf5.h file inside your include path?
The path can be found in [your torch folder]/install/share/lua/5.1/hdf5/config.lua specified as HDF5_INCLUDE_PATH

from sagan.

flystarhe avatar flystarhe commented on June 7, 2024

I try:

luarocks install hdf5

or:

sudo apt-get install libhdf5-serial-dev hdf5-tools
git clone https://github.com/deepmind/torch-hdf5
cd torch-hdf5
luarocks make hdf5-0-0.rockspec LIBHDF5_LIBDIR="/usr/lib/x86_64-linux-gnu/"

not find hdf5*/**/include for ~/torch/install/share/lua/5.1/hdf5/config.lua:

hdf5._config = {
    HDF5_INCLUDE_PATH = "",
    HDF5_LIBRARIES = "/home/hejian/anaconda3/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so"
}

installed hdf5 dir:

hejian@xlab:~$ tree -L 3 /home/hejian/torch/install/lib/luarocks/rocks/hdf5/
/home/hejian/torch/install/lib/luarocks/rocks/hdf5/
└── 0-0
    ├── doc
    │   ├── hdf5.md
    │   └── usage.md
    ├── hdf5-0-0.rockspec
    └── rock_manifest

2 directories, 4 files

from sagan.

flystarhe avatar flystarhe commented on June 7, 2024

thx, find it at /usr/lib/x86_64-linux-gnu/hdf5/serial/. I'll try it again.
@ubuntu 16.04

from sagan.

xinario avatar xinario commented on June 7, 2024

Great, just specify the include path in config.lua. For example in my case it is:
HDF5_INCLUDE_PATH = "/usr/include/hdf5/serial"

from sagan.

flystarhe avatar flystarhe commented on June 7, 2024

Thank you very much for your contribution.

I ran your model, the effect is amazing. I also want to do some experiments in this area, but the paired CT scan data provided by the doctor are difficult to align. How did your paired training data get?

from sagan.

xinario avatar xinario commented on June 7, 2024

Most likely you'll have to register the images by yourself. Actually, we are trying to release our scanned piglet data for research purpose. Please stay tuned:)

from sagan.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.