SMPLer-X2 / common /utils /dir.py
duyle2408's picture
upload common
9b8b2f6 verified
raw
history blame contribute delete
182 Bytes
import os
import sys
def make_folder(folder_name):
os.makedirs(folder_name, exist_ok=True)
def add_pypath(path):
if path not in sys.path:
sys.path.insert(0, path)