Coder Social home page Coder Social logo

Comments (9)

Fang-Haoshu avatar Fang-Haoshu commented on July 29, 2024

maybe try
sudo apt-get install libhdf5-serial-dev
luarocks install hdf5

What OS are u using?

from alphapose.

chenxu31 avatar chenxu31 commented on July 29, 2024

CentOS 7.3.
I installed libhdf5 by "yum install hdf5-devel" and then "luarocks install hdf5".

from alphapose.

Fang-Haoshu avatar Fang-Haoshu commented on July 29, 2024

How about upgrade the version of HDF5? I am using Ubuntu and not sure what HDF5 version you should use...

from alphapose.

Fang-Haoshu avatar Fang-Haoshu commented on July 29, 2024

You can try google the instructions for installing torch on CentOS and see what HDF5 you can use

from alphapose.

chenxu31 avatar chenxu31 commented on July 29, 2024

Well, maybe I should try to downgrade the version of HDF5 instead of upgrading it?
Since the source codes in where the error occurs ("distro/install/share/lua/5.1/hdf5/ffi.lua:71") are as follows:

if maj[0] ~= 1 or min[0] ~= 8 then
error("Unsupported HDF5 version: " .. maj[0] .. "." .. min[0] .. "." .. rel[0])
end
hdf5.version = {tonumber(maj[0]), tonumber(min[0]), tonumber(rel[0])}

Am I right?

from alphapose.

Fang-Haoshu avatar Fang-Haoshu commented on July 29, 2024

Not sure what maj[0] and min[0] refer to here. You can add a print(maj[0]) here and see whether you should upgrade or downgrade

from alphapose.

chenxu31 avatar chenxu31 commented on July 29, 2024

Thanks, I have fixed the problem.
In fact, there are two HDF5s on my server, one from yum (v1.8.12) and the other from anaconda (v1.10.1).
I just reinstall the hdf5 in anaconda by specifying the version to be 1.8.13 (since v1.8.12 is unavailable in anaconda), then everything seems ok now.

from alphapose.

Fang-Haoshu avatar Fang-Haoshu commented on July 29, 2024

Cool

from alphapose.

ZhangYK124 avatar ZhangYK124 commented on July 29, 2024

hello,I have same problems,
and i am using Ubuntu18.04,
what should i do?
Could you kindly give me some advice?

from alphapose.

Related Issues (20)

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.