forked from open-mmlab/mmskeleton
-
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.
- Loading branch information
Showing
10 changed files
with
65 additions
and
73 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
## Create an MMSkeleton Application | ||
|
||
MMSkeleton provides various models, datasets, apis, operators for various applications, | ||
such as pose estimation, human detection, action recognition and dataset building. | ||
The workflow of a application is defined by a **processor**, which is usually a python function. | ||
|
||
In MMSkeleton, an application is corresponded to a configuration file. | ||
It is a `.json`, `.yaml` or `.py` file including `processor_cfg` field. | ||
There is an example: | ||
|
||
```yaml | ||
# yaml | ||
|
||
processor_cfg: | ||
type: <path to processor module> | ||
dataset: | ||
type: <path to dataset module> | ||
data_path: ./data | ||
... | ||
|
||
argparse_cfg: | ||
data: | ||
bind_to: processor_cfg.dataset.data_path | ||
help: the path of data | ||
... | ||
``` | ||
|
||
The `processor_cfg` specifies a processor module and its dataset module | ||
In adittion, the `data_path` argument of the dataset is "./data". | ||
The `argparse_cfg` create a option argument `data` which is bound to `data_path`. | ||
|
||
With this configuration, the application can be started by: | ||
```shell | ||
mmskl $CONFIG_FILE --data $DATA_PATH | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
from . import datasets, processor, models, ops, apis | ||
from .datasets.skeleton import skeleton_process |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import recognition, pose_demo |