Views
No views yet
256x256, normalized with ImageNet statistics.(256x256).lr=1e-4, weight_decay=1e-4).huggingface_hub library:1import torch
2from huggingface_hub import hf_hub_download
3
4# Initialize your custom UNet architecture
5# from training.models.unet import ResNet34UNet
6# model = ResNet34UNet(out_classes=1)
7
8repo_id = "emreyoleridev/brain-neural-bound-tumor-model"
9model_path = hf_hub_download(repo_id=repo_id, filename="best_unet_model.pth")
10
11state_dict = torch.load(model_path, map_location="cpu")
12# model.load_state_dict(state_dict)