We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
md2yml.py
1 parent 98984bf commit 0d51115Copy full SHA for 0d51115
.dev/md2yml.py
@@ -264,9 +264,12 @@ def update_model_index():
264
yml_files = glob.glob(osp.join(configs_dir, '**', '*.yml'), recursive=True)
265
yml_files.sort()
266
267
+ # add .replace('\\', '/') to avoid Windows Style path
268
model_index = {
- 'Import':
269
- [osp.relpath(yml_file, MMSEG_ROOT) for yml_file in yml_files]
+ 'Import': [
270
+ osp.relpath(yml_file, MMSEG_ROOT).replace('\\', '/')
271
+ for yml_file in yml_files
272
+ ]
273
}
274
model_index_file = osp.join(MMSEG_ROOT, 'model-index.yml')
275
is_different = dump_yaml_and_check_difference(model_index,
0 commit comments