Skip to content

Commit

Permalink
Fix SPair-71k process
Browse files Browse the repository at this point in the history
  • Loading branch information
ziao-guo committed Oct 15, 2023
1 parent 69bffbe commit e7d134e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygmtools/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ def process(self):
train_file = os.path.join(self.dataset_dir, 'train.json')
test_file = os.path.join(self.dataset_dir, 'test.json')
img_file = os.path.join(self.dataset_dir, 'data-' + str(self.obj_resize) + '-' + self.suffix + '.json')
if (not os.path.exists(train_file)) or (not os.path.exists(test_file)):
if (not os.path.exists(train_file)) or (not os.path.exists(test_file)) or (not os.path.exists(img_file)):
train_list = []
test_list = []
if self.sets == 'trn':
Expand Down

0 comments on commit e7d134e

Please sign in to comment.