Caffe2 - Python API
A deep learning, cross platform ML framework
publish.py
1 
3 import os, shutil
4 if os.path.exists("/Users/aaronmarkham/caffe2/doxygen-c"):
5  print("Looks like you ran this before, so we need to cleanup those old files...")
6  shutil.rmtree("/Users/aaronmarkham/caffe2/doxygen-c")
7 if os.path.exists("/Users/aaronmarkham/caffe2/doxygen-python"):
8  print("Looks like you ran this before, so we need to cleanup those old files...")
9  shutil.rmtree("/Users/aaronmarkham/caffe2/doxygen-python")
10 
11 
12 os.system("cp -rf doxygen-c /Users/aaronmarkham/caffe2/")
13 os.system("cp -rf doxygen-python /Users/aaronmarkham/caffe2/")