Skip to content

Commit

Permalink
removed list from register dataset
Browse files Browse the repository at this point in the history
removed list from register dataset
  • Loading branch information
ChristofferEdlund authored Jan 20, 2022
1 parent 09d46d5 commit 0c77aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ centermask2 repo:
https://detectron2.readthedocs.io/en/latest/tutorials/datasets.html
````python
from detectron2.data.datasets import register_coco_instances
register_coco_instances([dataset_name], {}, [/path/coco/annotations.json], [path/to/image/dir])
register_coco_instances(dataset_name, {}, /path/coco/annotations.json, path/to/image/dir)
````

Were dataset_name will be the name of your dataset and will be how you decide what dataset to use in your config file.
Expand Down

0 comments on commit 0c77aae

Please sign in to comment.