Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
pengsida
/
NeuralBody
like
1
Configuration error
App
Files
Files
Community
2
Fetching metadata from the HF Docker repository...
refs/pr/1
NeuralBody
/
lib
/
networks
/
renderer
/
make_renderer.py
pengsida
initial commit
1ba539f
almost 3 years ago
raw
Copy download link
history
blame
Safe
201 Bytes
import
os
import
imp
def
make_renderer
(
cfg, network
):
module = cfg.renderer_module
path = cfg.renderer_path
renderer = imp.load_source(module, path).Renderer(network)
return
renderer