On windows
yamls = glob.glob(os.path.join(filepath, '*', '*.yaml')) will produce double backslash.
So nodes = yaml.replace('.yaml', '').replace('/', '.') will not work as expected.
Using os.sep will fix the issue: https://github.com/OpenMotionLab/MotionGPT/issues/65
On windows
yamls = glob.glob(os.path.join(filepath, '*', '*.yaml'))
will produce double backslash. Sonodes = yaml.replace('.yaml', '').replace('/', '.')
will not work as expected. Using os.sep will fix the issue: https://github.com/OpenMotionLab/MotionGPT/issues/65