[M] Move files

This commit is contained in:
2023-12-27 03:09:37 -05:00
parent f720da2ee4
commit 36e75f20cd
4 changed files with 3 additions and 4 deletions
@@ -14318,7 +14318,6 @@
"Core Clock(s)": "300 MHz",
"DirectX": "12",
"OpenGL": "4.4",
"Videocard Category": "Desktop",
"Other names": "Intel(R) UHD Graphics 620",
"Videocard First Benchmarked": "2017-08-28",
"G3DMark/Price": "NA",
@@ -39830,4 +39829,4 @@
"Samples": 1
}
]
}
}
+2 -2
View File
@@ -27,7 +27,7 @@ def crawl_cpu_gpu(cpu: bool) -> pd.DataFrame:
:param cpu: True if cpu, False if gpu
"""
file = Path("data/cpu.csv" if cpu else "data/gpu.csv")
file = Path("data/passmark/cpu.csv" if cpu else "data/passmark/gpu.csv")
if file.exists():
return pd.read_csv(file)
@@ -97,7 +97,7 @@ def crawl_id(id: str):
def crawl_gpuinfo_batch():
gpu_info_f = Path("data/gpu_info.json")
gpu_info_f = Path("data/passmark/gpu_info.json")
gpu_info = {} if not gpu_info_f.exists() else json.loads(gpu_info_f.read_text())
left = [gpu for gpu in crawl_cpu_gpu(False)["id"] if gpu not in gpu_info]