PyTorch_Tutorial icon indicating copy to clipboard operation
PyTorch_Tutorial copied to clipboard

计算相对路径的问题

Open xiaocer opened this issue 3 years ago • 0 comments

pro_dir = os.getcwd()
train_txt_path = os.path.join(pro_dir, "Data", "train.txt")

这样更方便

xiaocer avatar May 16 '23 01:05 xiaocer