Comments (6)
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.
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.
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.
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.
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.
Since the problem related has been resolved I would like to close the issue now.
from skeletonmerger.
Related Issues (10)
- The error of predictor_keypointnet.py HOT 2
- How to train on Kitti HOT 2
- No such file or directory: '../keypointnet/annotations/chair.json' ,‘../keypointnet/pcd’
- The error about datasets HOT 4
- The results
- The subclass id of Airplanes and Guitars ? HOT 1
- GPU需求和训练时间 HOT 4
- Want a pretrained model HOT 1
- annotation-json and pcd files for predictor_keypoint.py HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skeletonmerger.