Comments (4)
To be sure I understand you correctly...
You downloaded the models via the script? Now you want to reconstruct your own point clouds?
If you run into an error with the models, please try the max version. More details here: #22
In which format are your point clouds? If they are already Numpy files, They must contain arrays of shape [n, 3]. See this section of the readme for more details: https://github.com/ErlerPhilipp/points2surf#manually-created-dataset-for-reconstruction
If your point clouds are something like text files or vertices in mesh files (e.g. .obj, .stl, .ply), you can try this section of the readme: https://github.com/ErlerPhilipp/points2surf#dataset-from-point-clouds-for-reconstruction
For large point clouds (e.g. in .las format), you will need your own converter (e.g. cloud compare) and probably subsampling for a reasonable running time.
Let me know if you need more help.
from points2surf.
Thanks for your answer, now I am facing a new problem when I running full_eval.py
:
Traceback (most recent call last):
File "/home/dlmult/points2surf/full_eval.py", line 81, in <module>
full_eval(opt=points_to_surf_eval.parse_arguments())
File "/home/dlmult/points2surf/full_eval.py", line 46, in full_eval
points_to_surf_eval.points_to_surf_eval(opt)
File "/home/dlmult/points2surf/source/points_to_surf_eval.py", line 332, in points_to_surf_eval
dataset = make_dataset(train_opt=train_opt, eval_opt=eval_opt)
File "/home/dlmult/points2surf/source/points_to_surf_eval.py", line 107, in make_dataset
dataset = data_loader.PointcloudPatchDataset(
File "/home/dlmult/points2surf/source/data_loader.py", line 304, in __init__
sdf.get_voxel_centers_grid_smaller_pc(
File "/home/dlmult/points2surf/source/sdf.py", line 57, in get_voxel_centers_grid_smaller_pc
pts_vs = model_space_to_volume_space(pts, grid_resolution)
File "/home/dlmult/points2surf/source/sdf.py", line 75, in model_space_to_volume_space
return np.floor(pts_pos_octant * vol_res).astype(np.int)
TypeError: unsupported operand type(s) for *: 'float' and 'NoneType'
I only revise the model name in points_to_surf_eval.py
and use the original data.
from points2surf.
points_to_surf_eval.py is not meant to be called directly. There are some default values for parameters (argparse) that don't make sense. In this case, query_grid_resolution = None caused the error.
3 possible solutions:
- Cleanest solution: You can call experiments/eval_p2s_max.sh or similar with your updated settings.
- Take the parameters on of these shell scripts and set them as default values in points_to_surf_eval.py -> parse_arguments.
- Call full_run.py with updated parameters in train_params, eval_params and recon_params.
The parameters must match EXACTLY to the parameters of the model. Meaning, if you use the Max model, you need to use the settings from the corresponding train/eval shell scripts. This is absolutely necessary for everything related to NN layers, e.g. points_per_patch, shared_transformer, use_point_stn, net_size etc.
from points2surf.
closing because of inactivity, feel free to re-open
from points2surf.
Related Issues (20)
- ABC training set HOT 2
- AttributeError: Can't pickle local object 'points_to_surf_train.<locals>.seed_train_worker' HOT 4
- How to get query points while reconstructing HOT 2
- Error while running the max model evalution HOT 2
- didn’t get a good reconstrcution result by directly using sdf.implicit_surface_to_mesh_directory HOT 4
- Cannot get correct surface representation by using Marchin_Cube HOT 2
- Question about chamfer distance formulation HOT 3
- @bearprin yes, you're right. The mean is essentially a normalization by number of points in the subsamples. Looks like i forgot it in the code. Also note that the shapes are asumed to be normalized to unit cube size to get comparable results.
- Missing keys and unexpected keys in state_dict HOT 4
- Cannot generate all Famous dataset for training HOT 4
- Empty folder 04_pts_vis HOT 3
- How to get datasets with var,med and max noise? HOT 8
- dataset-from-point-clouds-for-reconstruction HOT 2
- How to reconstruct my own pointcloud? HOT 8
- Patch point IndexError given #points < `opt.points_per_patch` HOT 2
- Reconstruction Error: "The model contains no faces." HOT 6
- where is the 'bin/...' dir in make_datasets.py? Since it's a relative dir, but I can't find it in the repo dirs.
- Dataset from Point Clouds for Reconstruction
- How can I get colored reconstruction fron own point clouds? 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 points2surf.