@@ -73,8 +73,9 @@ transfer_data
73
73
74
74
To run the code to convert SMPL meshes to SMPL-X parameters use the following command:
75
75
``` Shell
76
- python main.py --exp-cfg config_files/smpl2smplx.yaml
76
+ python -m transfer_model --exp-cfg config_files/smpl2smplx.yaml
77
77
```
78
+ This should be run from the top directory of the repository.
78
79
79
80
The file * smpl2smplx.yaml* contains a sample configuration that reads meshes from a folder,
80
81
processes them and returns pkl files with SMPL-X parameters. To run on your own data create a folder
@@ -97,10 +98,11 @@ SMPL cannot model them.
97
98
98
99
### SMPL+H to SMPL
99
100
100
- To run the code to convert SMPL+H meshes to SMPL parameters use the following command:
101
+ To run the code to convert SMPL+H meshes to SMPL parameters use the following command from the root ` smplx ` directory :
101
102
``` Shell
102
- python main.py --exp-cfg config_files/smplh2smpl.yaml
103
+ python -m transfer_model --exp-cfg config_files/smplh2smpl.yaml
103
104
```
105
+ This should be run from the top directory of the repository.
104
106
105
107
The file * smplh2smpl.yaml* contains a sample configuration that reads meshes from a folder,
106
108
processes them and returns pkl files with SMPL parameters. To run on your own data create a folder
@@ -113,8 +115,9 @@ hands.
113
115
114
116
To run the code to convert SMPL meshes to SMPL+H parameters use the following command:
115
117
``` Shell
116
- python main.py --exp-cfg config_files/smpl2smplh.yaml
118
+ python -m transfer_model --exp-cfg config_files/smpl2smplh.yaml
117
119
```
120
+ This should be run from the top directory of the repository.
118
121
119
122
The file * smpl2smplh.yaml* contains a sample configuration that reads meshes from a folder,
120
123
processes them and returns pkl files with SMPL parameters. To run on your own data create a folder
@@ -124,8 +127,9 @@ with SMPL meshes, in either ply or obj format, change the path in the config fil
124
127
125
128
To run the code to convert SMPL+H meshes to SMPL-X parameters use the following command:
126
129
``` Shell
127
- python main.py --exp-cfg config_files/smplh2smplx.yaml
130
+ python -m transfer_model --exp-cfg config_files/smplh2smplx.yaml
128
131
```
132
+ This should be run from the top directory of the repository.
129
133
130
134
The file * smplh2smplx.yaml* contains a sample configuration that reads meshes from a folder,
131
135
processes them and returns pkl files with SMPL-X parameters. To run on your own data create a folder
@@ -136,8 +140,9 @@ with SMPL+H meshes, in either ply or obj format, change the path in the config f
136
140
137
141
To run the code to convert SMPL-X meshes to SMPL+H parameters use the following command:
138
142
``` Shell
139
- python main.py --exp-cfg config_files/smplx2smplh.yaml
143
+ python -m transfer_model --exp-cfg config_files/smplx2smplh.yaml
140
144
```
145
+ This should be run from the top directory of the repository.
141
146
142
147
The file * smplx2smpl.yaml* contains a sample configuration that reads meshes from a folder,
143
148
processes them and returns pkl files with SMPL+H parameters. To run on your own data create a folder
0 commit comments