YoloGesture / get_yaml.py
Kedreamix's picture
上传主要代码
4350164
raw
history blame
292 Bytes
import os
import sys
import yaml
def get_config():
yaml_path = 'model_data/gesture.yaml'
f = open(yaml_path,'r',encoding='utf-8')
config = yaml.load(f,Loader =yaml.FullLoader)
f.close()
return config
if __name__ == "__main__":
config = get_config()
print(config)