facebook360_dep
Facebook360 Depth Estimation Pipeline
Functions | Variables
scripts.render.render Namespace Reference

Functions

def verify_inputs ()
 
def set_input_param (base_params, image_type)
 
def main ()
 
def main_loop (argv)
 

Variables

 dir_scripts = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
 
 dir_root = os.path.dirname(dir_scripts)
 
 requests_logger = logging.getLogger("pika")
 
 propagate
 
 FLAGS = flags.FLAGS
 

Function Documentation

◆ main()

def scripts.render.render.main ( )
Runs the main render pipeline with the parameters passed in through command line args.

◆ main_loop()

def scripts.render.render.main_loop (   argv)
Validates and logs flags and renders with them if determined to be valid.

Args:
    argv (list[str]): List of arguments (used interally by abseil).

◆ set_input_param()

def scripts.render.render.set_input_param (   base_params,
  image_type 
)
Updates paths to the flags to reflect those constructed inside Docker.

Args:
    base_params (dict[str, _]): Map of all the FLAGS defined in render.py.
    image_type (str): Name of an image type (re: source/util/ImageTypes.h).

◆ verify_inputs()

def scripts.render.render.verify_inputs ( )
Verifies that all the command line flags are valid.

Variable Documentation

◆ dir_root

scripts.render.render.dir_root = os.path.dirname(dir_scripts)

◆ dir_scripts

scripts.render.render.dir_scripts = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

◆ FLAGS

scripts.render.render.FLAGS = flags.FLAGS

◆ propagate

scripts.render.render.propagate

◆ requests_logger

scripts.render.render.requests_logger = logging.getLogger("pika")