Spaces:
Sleeping
Sleeping
Habeeb Okunade
commited on
Commit
·
b43bc74
1
Parent(s):
4e7f56d
Update Training script
Browse files
train.py
CHANGED
|
@@ -13,7 +13,7 @@ CLASSES = ["AMD","DMO","DR","GLC","HR","Normal"]
|
|
| 13 |
MODEL_NAME = "microsoft/beit-base-patch16-224"
|
| 14 |
|
| 15 |
# Output directory (from env or default)
|
| 16 |
-
OUTPUT_DIR = os.environ.get("OUTPUT_DIR",
|
| 17 |
os.makedirs(OUTPUT_DIR, exist_ok=True)
|
| 18 |
|
| 19 |
print("HOME dir:", os.environ.get("HOME"))
|
|
|
|
| 13 |
MODEL_NAME = "microsoft/beit-base-patch16-224"
|
| 14 |
|
| 15 |
# Output directory (from env or default)
|
| 16 |
+
OUTPUT_DIR = os.environ.get("OUTPUT_DIR", "/home/user/outputs/beit-retina")
|
| 17 |
os.makedirs(OUTPUT_DIR, exist_ok=True)
|
| 18 |
|
| 19 |
print("HOME dir:", os.environ.get("HOME"))
|