Downloads · 30 days
0
Binamra00/resnet-lama-oxford-weights
resnet-lama-oxford-weights is a machine learning model from Binamra00. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This repository hosts the pre-trained model weights for the Paint-Paint research project, which investigates the efficacy of Fast Fourier Convolutions (FFCs) and adversarial fine-tuning for domain-adaptive image inpai…
Downloads · 30 days
0
Access
Public
Updated Jul 26, 2026
Repo size
88.3 MB
Likes
1
Public
Click a slice to open those files.
.pth50.6 MB · 100%
From the Hugging Face model README
This repository hosts the pre-trained model weights for the Paint-Paint research project, which investigates the efficacy of Fast Fourier Convolutions (FFCs) and adversarial fine-tuning for domain-adaptive image inpainting in data-scarce environments.
These weights are designed to be used in conjunction with the primary paint-paint GitHub repository.
This repository contains three distinct model weights, representing the progression of the ablation study and the final adversarial pipeline:
BaseLine_UNet_Master.pth
ResNetLama_Master.pth
GAN_Generator_Final.pth
To maintain a self-contained and reproducible environment, it is highly recommended to use the official huggingface_hub API for retrieval. Standard CLI tools like wget often fail to resolve Git Large File Storage (LFS) redirects, resulting in corrupted 1KB text pointers.
import os
from huggingface_hub import hf_hub_download
# Ensure the target directory exists
os.makedirs("models/saved_weights", exist_ok=True)
# Download the final GAN weights directly from this Hugging Face repository
hf_hub_download(
repo_id="Binamra00/resnet-lama-oxford-weights",
filename="GAN_Generator_Final.pth",
local_dir="models/saved_weights"
)