forked from Megvii-BaseDetection/YOLOX
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(YOLOX): refactor datasets and add demo_utils
- Loading branch information
1 parent
cbc1900
commit bae9234
Showing
8 changed files
with
49 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Prepare datasets | ||
|
||
If you have a dataset directory, you could use os environment variable named `YOLOX_DATADIR`. Under this directory, YOLOX will look for datasets in the structure described below, if needed. | ||
``` | ||
$YOLOX_DATADIR/ | ||
COCO/ | ||
``` | ||
You can set the location for builtin datasets by | ||
```shell | ||
export YOLOX_DATADIR=/path/to/your/datasets | ||
``` | ||
If `YOLOX_DATADIR` is not set, the default value of dataset directory is `./datasets` relative to your current working directory. | ||
|
||
## Expected dataset structure for [COCO detection](https://cocodataset.org/#download): | ||
|
||
``` | ||
COCO/ | ||
annotations/ | ||
instances_{train,val}2017.json | ||
{train,val}2017/ | ||
# image files that are mentioned in the corresponding json | ||
``` | ||
|
||
You can use the 2014 version of the dataset as well. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters