ThibaultGROUEIX / AtlasNet

This repository contains the source codes for the paper "AtlasNet: A Papier-Mâché Approach to Learning 3D Surface Generation ". The network is able to synthesize a mesh (point cloud + connectivity) from a low-resolution point cloud, or from an image.

Home Page:http://imagine.enpc.fr/~groueixt/atlasnet/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any specific reason to sample the point cloud with replacement?

sagniklp opened this issue · comments

choice = np.random.choice(points.size(0), self.num_sample, replace=True)

Dear @sagniklp
Thanks for reaching out

Yes, some ground truth point clouds are very small. The overall number of points in those can be less than self.num_sample which gives an error if you sample without replacement.

Best regards,
-Thibault