Closed sw778 closed 2 years ago
Hi,
This is because that we pass a wrong key to shapenet_dict ('./data/shapenet_synset_dict.json')
.
If you want to see the reconstruction metric for each class in ModelNet40, you need first:
taxonomy id
according to the label of each sample.taxonomy : name
dict. As ./data/shapenet_synset_dict.jsonOr if you do not care about the detailed metric. Comment out https://github.com/lulutang0608/Point-BERT/blob/master/tools/runner.py#L271-L295
Thanks for your reply, I modified as you mentioned and it worked.
@yuxumin Is there provided code of how to mask a new dataset? I am attempting to pre-train your method on a new dataset, but it is unclear to me how i mask my data as the provided shapenet data is already masked. @sw778 Did u mask modelnet data yourself?
Hello, I try to use ModelNet40 for pre-training of dVAE. I changed the dataset_name in runner.py to ModelNet40 and modified the code as shown in the picture. In addition, I also configured the dvae.yaml file about ModelNet40. But when I start training I get "KeyError: 'ModelNet'". I don't know why this problem occurs, is it related to the json file? , or do you have any good suggestions? Thanks.
`(pointbert) ws666@ws666-OMEN-by-HP-Laptop-15-dc1xxx:~/Point-BERT-master$ bash scripts/train.sh 0 --config cfgs/ModelNet_models/dvae.yaml --exp_name modelnetDvae
Traceback (most recent call last): File "main.py", line 72, in