Skip to content

Commit

Permalink
Fix detectron_utils.read_image docs
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #85

Differential Revision: D17947350

Pulled By: ppwwyyxx

fbshipit-source-id: 692b170dc33cc22958207e8551a6f9fe5526e467
  • Loading branch information
bryant1410 authored and facebook-github-bot committed Oct 16, 2019
1 parent 36ecc90 commit 52dc232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detectron2/data/detection_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def read_image(file_name, format=None):
Args:
dataset_dict (dict): Metadata of one image, in Detectron2 Dataset format.
format (dict): one of the supported image modes in PIL, or "BGR"
format (str): one of the supported image modes in PIL, or "BGR"
Returns:
image (np.ndarray): an HWC image
Expand Down

0 comments on commit 52dc232

Please sign in to comment.