def get_cards(args):
    num = 0
    cards = os.environ.get('CUDA_VISIBLE_DEVICES')
    num = len(cards.split(','))
    return num
def get_cards(args):
    num = 0
    cards = os.environ.get('CUDA_VISIBLE_DEVICES')
    num = len(cards.split(','))
    return num