ground_recognition/batchtrainer.py
def save_group(batch_dir, group):
    """
    make group directory and save group info.
    """
    group_name = group["group_name"]
    group_dir = batch_dir / group_name
    group_dir.mkdir()

    # save group information
    info_file = group_dir / "group_info.txt"
    with open(info_file, "w") as info_f:
        info_f.write(f"group_name: {group_name}\n")
        info_f.write(f"group_info: {group['group_info']}\n")

    return group_dir

    make group directory and save group info.
    
make group directory and save group info.
make group directory and save group info .
def save_group(batch_dir, group):
    group_name = group["group_name"]
    group_dir = batch_dir / group_name
    group_dir.mkdir()
    info_file = group_dir / "group_info.txt"
    with open(info_file, "w") as info_f:
        info_f.write(f"group_name: {group_name}\n")
        info_f.write(f"group_info: {group['group_info']}\n")
    return group_dir
def save_group ( batch_dir , group ) : group_name = group [ "group_name" ] group_dir = batch_dir / group_name group_dir . mkdir ( ) info_file = group_dir / "group_info.txt" with open ( info_file , "w" ) as info_f : info_f . write ( f"group_name: {group_name}\n" ) info_f . write ( f"group_info: {group['group_info']}\n" ) return group_dir
make group directory and save group info.
make group directory and save group info .
"""
    make group directory and save group info.
    """ # save group information
batch_dir
group