Comments (4)
Hi Supriya,
You were using an old version of the point sampling code. Please use the correct version provided in this repo. Here's the link: https://github.com/czq142857/IM-NET/tree/master/point_sampling
You need to prepare 256^3 voxels to use that code. You also need to rewrite a few lines to read .binvox files instead of .mat files.
The old point-sampling code can be used if you wish so. You just need to make sure the points are scaled correctly. Specifically, rewrite this line in modelAE.py according to the sampling resolution (note the number 256):
self.data_points = (data_dict['points_'+str(self.sample_vox_size)][:].astype(np.float32)+0.5)/256-0.5
Best,
Zhiqin
from im-net-pytorch.
Thank you so much for the help @czq142857 !
I am using 2_gather_256vox_16_32_64.py to sample point-value pairs. I noticed that, you are transforming coordinates from Shapenet.v1 to Shapenet.v2 on line 104. What is the purpose of this conversion? The ready-to-use dataset is based on ShapeNetCore.v1 or ShapeNetCore.v2 dataset?
Also, just want to confirm, I don't need to use flood-filling code to make the mesh watertight, as 2_gather_256vox_16_32_64.py uses voxel carving for this purpose. Is that right?
Thank you for your time.
from im-net-pytorch.
The conversion does not have a lot of meaning. You can use either Shapenet v1 or v2 coordinates based on your preferences.
The ready-to-use dataset is based on ShapeNetCore.v1, but in ShapeNetCore.v2 coordinates.
Right. You do not need to use flood-filling code to make the mesh watertight, as 2_gather_256vox_16_32_64.py uses voxel carving for this purpose.
from im-net-pytorch.
Thank you for the help!
from im-net-pytorch.
Related Issues (20)
- Code for latent GAN HOT 1
- Reproducing for Point Cloud to Mesh Reconstruction HOT 2
- inconsistency with AE training config and data HOT 2
- Visualizing voxel grid HOT 2
- Issues with reconstruction / Discrepancy in metric (CD) HOT 1
- Question on Inference HOT 3
- A concern about the loss function. HOT 6
- training loss keeps increasing for SVR task HOT 2
- About test HOT 8
- About testing HOT 9
- About the original voxel models from HSP HOT 2
- the training code of training font HOT 1
- Training with the ready-to-use data HOT 2
- I can't understand some codes HOT 2
- Have you released the interpolation of 2D Letters? HOT 2
- Train imnet using other data HOT 8
- The issue of infinite loop here HOT 2
- IM-GAN for pytorch version HOT 1
- About the data preprocess HOT 1
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 im-net-pytorch.