Skip to content

Commit

Permalink
[Fix] Adjust the order of get_classes and FileClient. (#7276)
Browse files Browse the repository at this point in the history
  • Loading branch information
274869388 authored and ZwwWayne committed Mar 16, 2022
1 parent 56121bb commit a73c8d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmdet/datasets/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ def __init__(self,
self.proposal_file = proposal_file
self.test_mode = test_mode
self.filter_empty_gt = filter_empty_gt
self.CLASSES = self.get_classes(classes)
self.file_client = mmcv.FileClient(**file_client_args)
self.CLASSES = self.get_classes(classes)

# join paths if data_root is specified
if self.data_root is not None:
Expand Down

0 comments on commit a73c8d1

Please sign in to comment.