| 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}") | |