in Project-BasicAlgorithm/core/training/params.py [0:0]
def class_weight(value): try: value = eval(value) except: value = value return value