添加ignore文件

This commit is contained in:
龙澳 2024-12-19 17:19:39 +08:00
parent 9e092910ea
commit 05e8576332
3 changed files with 7 additions and 2 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
# 忽略所有__pycache__目录
**/__pycache__/
*.pyc
*.pyo
*.pyd

View File

@ -7,7 +7,7 @@ def parse_args():
parser = argparse.ArgumentParser(description="ODM log time") parser = argparse.ArgumentParser(description="ODM log time")
parser.add_argument( parser.add_argument(
"--path", default=r"E:\datasets\UAV\1815\project\log.json") "--path", default=r"E:\datasets\UAV\134\project\log.json")
args = parser.parse_args() args = parser.parse_args()
return args return args

View File

@ -5,7 +5,7 @@ sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
from preprocess.gps_extractor import GPSExtractor from preprocess.gps_extractor import GPSExtractor
DATASET = r'E:\湖南省第二测绘院\11-06-项目移交文件(王辉给)\无人机二三维节点扩容生产影像\影像数据\1009' DATASET = r'E:\datasets\UAV\502\project\images'
if __name__ == '__main__': if __name__ == '__main__':
extractor = GPSExtractor(DATASET) extractor = GPSExtractor(DATASET)