Adjusted all working routes, full docker pipeline verified, added extra validations for docker, reduced julia environment, tested run succesful

This commit is contained in:
Pixelguy14
2026-10-08 20:51:43 -06:00
parent 19fdd8af16
commit bab8f4d2a9
28 changed files with 290 additions and 499 deletions
+3 -3
View File
@@ -30,9 +30,9 @@ dataset_name = sys.argv[1] if len(sys.argv) > 1 else "leaf"
K = int(sys.argv[2]) if len(sys.argv) > 2 else 10
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
IMG_DIR = os.path.join(BASE_DIR, "..", "..", "outputs", "ion_images", dataset_name)
MODEL_PATH = os.path.join(BASE_DIR, "..", "..", "outputs", "models", dataset_name, "msi_encoder_trained.pth")
OUTPUT_DIR = os.path.join(BASE_DIR, "..", "..", "outputs", dataset_name)
IMG_DIR = os.path.join(BASE_DIR, "..", "outputs", "ion_images", dataset_name)
MODEL_PATH = os.path.join(BASE_DIR, "..", "outputs", "models", dataset_name, "msi_encoder_trained.pth")
OUTPUT_DIR = os.path.join(BASE_DIR, "..", "outputs", dataset_name)
FIGURES_DIR = os.path.join(OUTPUT_DIR, "figures")
DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")