Skip to content

Commit

Permalink
Fix relative paths (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowcap authored Jul 10, 2024
1 parent 3b902c0 commit 3df1c6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tutorials/clay-v1-wall-to-wall.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"# Add the repo root to the sys path for the model import below\n",
"import sys\n",
"\n",
"sys.path.append(\"..\")"
"sys.path.append(\"../..\")"
]
},
{
Expand Down Expand Up @@ -319,7 +319,7 @@
"torch.set_default_device(device)\n",
"\n",
"model = ClayMAEModule.load_from_checkpoint(\n",
" ckpt, metadata_path=\"../configs/metadata.yaml\", shuffle=False, mask_ratio=0\n",
" ckpt, metadata_path=\"../../configs/metadata.yaml\", shuffle=False, mask_ratio=0\n",
")\n",
"model.eval()\n",
"\n",
Expand Down Expand Up @@ -349,7 +349,7 @@
"source": [
"# Extract mean, std, and wavelengths from metadata\n",
"platform = \"sentinel-2-l2a\"\n",
"metadata = Box(yaml.safe_load(open(\"../configs/metadata.yaml\")))\n",
"metadata = Box(yaml.safe_load(open(\"../../configs/metadata.yaml\")))\n",
"mean = []\n",
"std = []\n",
"waves = []\n",
Expand Down

0 comments on commit 3df1c6b

Please sign in to comment.