Skip to content

Commit

Permalink
refractor datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenLJY committed Apr 1, 2024
1 parent a100ca8 commit e2a327b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions datamodules/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ def _prepare_item(self, idx):
cond['name'] = self.model_ids[idx]
cond['obj_cat'] = file['meta']['obj_cat']
cond['tree_hash'] = file['meta']['tree_hash']
return data, cond

def __getitem__(self, index):
raise NotImplementedError
Expand Down

0 comments on commit e2a327b

Please sign in to comment.