main.py
def check_config(config):
    """Check if the configuration has invalid arguments.

    Args:
        config (AttributeDict): Config of the experiment from `get_args`.
    """
    if config.model_name == 'XMLCNN' and config.seed is not None:
        raise ValueError("nn.AdaptiveMaxPool1d doesn't have a deterministic implementation but seed is"
                         "specified. Please do not specify seed.")
Check if the configuration has invalid arguments.

    Args:
        config (AttributeDict): Config of the experiment from `get_args`.
    
Check if the configuration has invalid arguments.
Check if the configuration has invalid arguments .
def check_config(config):
    if config.model_name == 'XMLCNN' and config.seed is not None:
        raise ValueError("nn.AdaptiveMaxPool1d doesn't have a deterministic implementation but seed is"
                         "specified. Please do not specify seed.")
def check_config ( config ) : if config . model_name == 'XMLCNN' and config . seed is not None : raise ValueError ( "nn.AdaptiveMaxPool1d doesn't have a deterministic implementation but seed is" "specified. Please do not specify seed." )
Check if the configuration has invalid arguments.
Check if the configuration has invalid arguments .
"""Check if the configuration has invalid arguments.

    Args:
        config (AttributeDict): Config of the experiment from `get_args`.
    """
config
Config of the experiment from `get_args`.
Config of the experiment from ` get_args ` .