Skip to content

Commit

Permalink
Apply pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqwang committed Mar 3, 2022
1 parent 78c156b commit 2cba497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yolort/utils/visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def __init__(
# Set dataset metadata (e.g. class names)
self.metadata = None
if metalabels is not None:
self.metadata = np.loadtxt(metalabels, dtype='str', delimiter='\n')
self.metadata = np.loadtxt(metalabels, dtype="str", delimiter="\n")

self.scale = scale
self.cpu_device = torch.device("cpu")
Expand Down

0 comments on commit 2cba497

Please sign in to comment.