Kun Zou
2024-12-21 b5ad7c81be2e24f255cac3d0ef0037bf88228366
1
2
3
4
5
6
7
8
9
10
11
12
13
import os
 
 
def get_abs_path(rel_path):
    """
    Get absolute path
 
    Args:
        rel_path: relative path to this file
 
    Returns absolute path
    """
    return os.path.dirname(os.path.abspath(__file__)) + "/" + rel_path