Untitled

 avatar
unknown
plain_text
2 years ago
529 B
6
Indexable
print( f'Path: { home_directory} !' )

if not os.path.exists(os.path.join(home_directory,".cache/torch/hub/checkpoints/resnet18-f37072fd.pth")):
    if not os.path.exists(os.path.join(home_directory,".cache/torch/hub/checkpoints")):
        os.makedirs(os.path.join(home_directory,".cache/torch/hub/checkpoints"))
    shutil.copyfile("/home/vaibhav/PycharmProjects/tableTD-TSR/table-transformer/check/torch/hub/checkpoints/resnet18-f37072fd.pth",os.path.join(home_directory,".cache/torch/hub/checkpoints/resnet18-f37072fd.pth"))
Editor is loading...