Skip to content

Commit

Permalink
Fix minor bug in ssl_dataset.py
Browse files Browse the repository at this point in the history
resolve LeeDoYup#11 .
  • Loading branch information
LeeDoYup authored Jan 28, 2021
1 parent 0e0b492 commit cff901f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datasets/ssl_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def get_ssl_dset(self, num_labels, index=None, include_lb_to_ulb=True,
lb_dset = BasicDataset(lb_data, lb_targets, num_classes,
transform, False, None, onehot)

ulb_dset = BasicDataset(data, targets, num_classes,
ulb_dset = BasicDataset(ulb_data, ulb_targets, num_classes,
transform, use_strong_transform, strong_transform, onehot)

return lb_dset, ulb_dset
return lb_dset, ulb_dset

0 comments on commit cff901f

Please sign in to comment.