Closed kochsebastian closed 2 years ago
Hi there, thanks for pointing this out. The classes.txt and relationships.txt files for the subset of classes that we train with, can be found here: https://campar.in.tum.de/public_datasets/3DSSG/3DSSG_subset.zip
Thank you for the quick response 🙂
I have one a small problem with your provided checkpoints.
I downloaded the 3DSSG dataset from here: https://campar.in.tum.de/public_datasets/3DSSG/3DSSG.zip including the
classes.txt
which has 528 classes. I downloaded the checkpoints from here: https://drive.google.com/drive/folders/1RbNUpHLQiY1zskd0buAgvl-yFwnD9N8M?usp=sharingWhen I try to evaluate the model using:
I get the following error:
I think this error is generated because
self.obj_embeddings_ec_box = nn.Embedding(num_objs + 1, obj_embedding_dim)
inSg2ScVAEModel
inVAEGAN_SHARED.py
takes the number of classes as the number of input features. And the number of classes is defined by the length ofvocab['object_idx_to_name']
which is loaded from theclasses.txt
which is 528 classes + the first row scene. This similar for the relationships andself.pred_embeddings_ec_box = nn.Embedding(num_preds, 2 * embedding_dim)
.Seams like you trained only with 161 classes and 27 relationships. Could you provide me with the correct
classes.txt
file andrelationships.json
to replicate your results?