pointnet-pytorch icon indicating copy to clipboard operation
pointnet-pytorch copied to clipboard

file modelnet_cat2num.txt missing

Open amiltonwong opened this issue 6 years ago • 5 comments

Hi, @kentsyx ,

Would you provide file modelnet_cat2num.txt, as it is required in datasets.py?

THX!

amiltonwong avatar Apr 16 '19 05:04 amiltonwong

Also, synsetoffset2category.txt and s3d_cat2num.txt are also needed. Is it easy to manually generate them? Please suggest how to generate them.

THX!

amiltonwong avatar Apr 16 '19 09:04 amiltonwong

@amiltonwong did you figure out how to generate the s3d_cat2num.txt file?

tsarjak avatar Jul 19 '19 14:07 tsarjak

Hi @amiltonwong, yes it is quite easy to manually generate them, you just create a simple dictionary that maps the categorical variables to integer encoding after you download the dataset, like

{'chair': 0, 'airplane': 1, ...}

yunxiaoshi avatar Aug 23 '19 00:08 yunxiaoshi

Also, synsetoffset2category.txt and s3d_cat2num.txt are also needed. Is it easy to manually generate them? Please suggest how to generate them.

THX!

@amiltonwong ,hello,have you solved the problem,I still don't know how to do it,could you please show the details,thx!

shadowoflight1 avatar Dec 03 '19 07:12 shadowoflight1

In datasets.py file: data=next(os.walk(self.root))[1] for i, d in enumerate(data): self.cat[d]=i

maxiflo88 avatar Feb 04 '20 09:02 maxiflo88