dillonlaird commited on
Commit
702f0a9
1 Parent(s): 0d302ec

attempting to fix permission issue on creating data.pkl, part 3

Browse files
Files changed (1) hide show
  1. app/configs.py +2 -1
app/configs.py CHANGED
@@ -1,7 +1,8 @@
 
1
  import torch
2
 
3
  from pathlib import Path
4
 
5
- DATA_ROOT = Path("data")
6
  DEVICE = torch.device("cpu")
7
  MODEL = "mobile_sam"
 
1
+ import os
2
  import torch
3
 
4
  from pathlib import Path
5
 
6
+ DATA_ROOT = Path(os.environ["HOME"]) / Path("app") / Path("data")
7
  DEVICE = torch.device("cpu")
8
  MODEL = "mobile_sam"