MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / read_config_file

Function read_config_file

scripts/convert_vq_diffusion_to_diffusers.py:683–689  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

681
682
683def read_config_file(filename):
684 # The yaml file contains annotations that certain values should
685 # loaded as tuples.
686 with open(filename) as f:
687 original_config = yaml.load(f, FullLoader)
688
689 return original_config
690
691
692# We take separate arguments for the vqvae because the ITHQ vqvae config file

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected