emotion / src /debug_paths.py
robot4's picture
Upload folder using huggingface_hub
af9853e verified
raw
history blame contribute delete
620 Bytes
import os
import glob
from config import Config
print(f"Current Working Directory: {os.getcwd()}")
print(f"Config.RESULTS_DIR: {Config.RESULTS_DIR}")
# Debug Finding Checkpoints
candidates = glob.glob(os.path.join(Config.RESULTS_DIR, "checkpoint-*"))
print(f"Found {len(candidates)} candidates:")
for c in candidates:
print(f" - {c}")
if not candidates:
# Try relative path manual
print("Trying relative path './results/checkpoint-*'...")
candidates = glob.glob("./results/checkpoint-*")
print(f"Found {len(candidates)} candidates via relative:")
for c in candidates:
print(f" - {c}")