Skip to content

Commit

Permalink
Fix format roboflow for coco (#1113)
Browse files Browse the repository at this point in the history
- Fix format of roboflow dataset with coco format.
- For this case, we need to use `roboflow_coco`
  • Loading branch information
sooahleex committed Jul 31, 2023
1 parent 2015d4c commit e5b085f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/docs/data-formats/formats/coco.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,13 +301,13 @@ Datumaro supports importing this COCO format dataset available from Roboflow by

``` bash
datum project create
datum project import --format coco_roboflow <path/to/dataset>
datum project import --format roboflow_coco <path/to/dataset>
```

### Import using Python API

```python
import datumaro as dm

dataset = dm.Dataset.import_from('<path/to/dataset>', 'coco_roboflow')
dataset = dm.Dataset.import_from('<path/to/dataset>', 'roboflow_coco')
```

0 comments on commit e5b085f

Please sign in to comment.