Clay-foundation / model

The Clay Foundation Model - An open source AI model and interface for Earth
https://clay-foundation.github.io/model/
Apache License 2.0
376 stars 48 forks source link

`Access Denied` in clay-v1-wall-to-wall.ipynb and kernel died after changed to huggingface #333

Open jxiongbayer opened 1 day ago

jxiongbayer commented 1 day ago

try to run docs/tutorials/clay-v1-wall-to-wall.ipynb on AWS SageMaker Studio

turn out the ckpt is not available. Any alternative link?

device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
ckpt = "https://clay-model-ckpt.s3.amazonaws.com/v0.5.7/mae_v0.5.7_epoch-13_val-loss-0.3098.ckpt"
torch.set_default_device(device)

model = ClayMAEModule.load_from_checkpoint(
    ckpt, metadata_path="../../configs/metadata.yaml", shuffle=False, mask_ratio=0
)
model.eval()

model = model.to(device)
jxiongbayer commented 1 day ago

changed to

ckpt = "https://huggingface.co/made-with-clay/Clay/resolve/main/Clay_v0.1_epoch-24_val-loss-0.46.ckpt?download=true"

Kernel Restarting The kernel for model/clay-v1-wall-to-wall.ipynb appears to have died. It will restart automatically.