Skip to content
  • This project
    • Loading...
  • Sign in

affective_computing / mobile_face_recognize

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • mobile_face_recognize
  • load_util.py
  • jiangwenqiang's avatar
    update · 07e3b358
    jiangwenqiang committed 2022-02-11 10:38:48 +0800
    07e3b358
load_util.py 255 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13
import os
import MNN
import yaml
import logging
import tensorflow as tf


def load_config(config_path):
    with open(config_path, 'r') as cf:
        config_obj = yaml.load(cf, Loader=yaml.FullLoader)
        print(config_obj)
        return config_obj