def create_loss_dict(foreground_weight = 10, n_sigma = 2, w_inst = 1, w_var = 10, w_seed = 1):
    """
        Creates `loss_dict` dictionary from parameters.
        Parameters
        ----------
        foreground_weight: int
        w_inst: int/float
            weight on IOU loss
        w_var: int/float
            weight on variance loss
        w_seed: int/float
            weight on seediness loss
    """
    loss_dict = {'lossOpts': {'n_sigma': n_sigma,
                              'foreground_weight': foreground_weight,
                              },
                 'lossW': {'w_inst': w_inst,
                           'w_var': w_var,
                           'w_seed': w_seed,
                           },
                 }
    print(
        "`loss_dict` dictionary successfully created with: \n -- foreground weight equal to {:.3f}, \n -- w_inst equal to {}, \n -- w_var equal to {}, \n -- w_seed equal to {}".format(
            foreground_weight, w_inst, w_var, w_seed))
    return loss_dict