Coder Social home page Coder Social logo

Comments (6)

eliphatfs avatar eliphatfs commented on August 16, 2024

The error message comes from internals of h5py rather than code of Skeleton Merger. The most probable reason for the error is that the downloaded file is corrupted. You may try downloading it again.

from skeletonmerger.

amarmhrjn avatar amarmhrjn commented on August 16, 2024

I downloaded the dataset again but the same issue. I have also restarted the machine to see if it works, but no progress.
Any suggestion?

from skeletonmerger.

eliphatfs avatar eliphatfs commented on August 16, 2024

Perhaps there is something wrong with the file enumeration; you could try separately placing the target .h5 files in a folder without the meta files (e.g. .json files)

from skeletonmerger.

amarmhrjn avatar amarmhrjn commented on August 16, 2024

It turns out that the main issue was due to including files other than .h5 files such as .json and .txt in the same directory. The script was reading .json and .txt files as well (also inside the subdirectory if there are any) and hence the issue.
When I extracted the "ShapeNetCore.v2" zip file, the extracted directory contains all the files in it.
I moved the .h5 files into separate directory and now able to train and generate the keypoints (stored in merger_prediction.npz) for the keypointnet pcd files.

Btw, which tool/code are you using to visualize the keypoints stored in merger_prediction.npz?
I am working on reading the npz file, loading the data and trying to plot using matplotlib, but I am still learning it though.

from skeletonmerger.

eliphatfs avatar eliphatfs commented on August 16, 2024

The visualization in the paper is done by https://github.com/eliphatfs/PointCloudVisualizer
Since it is external (and unity is not freeware) the related scripts are not included here. You have to export the data into a json file containing relevant information to use the visualizer. The specs can be found at the repository. It shouldn't be hard to combine original points and keypoints from the present code files into the visualization json file.

from skeletonmerger.

eliphatfs avatar eliphatfs commented on August 16, 2024

Since the problem related has been resolved I would like to close the issue now.

from skeletonmerger.

Related Issues (10)

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.