Downloads · 30 days
0
hggjcqwe/RANDMark_demo
RANDMark_demo is a machine learning model from hggjcqwe. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
RANDmark 数字水印系统的预训练模型,用于 Gradio Demo 演示。
Downloads · 30 days
0
Access
Public
Updated Jul 7, 2026
Repo size
33 MB
Likes
0
Public
Click a slice to open those files.
.pth33 MB · 100%
From the Hugging Face model README
RANDmark 数字水印系统的预训练模型,用于 Gradio Demo 演示。
| 文件 | 描述 | 大小 |
|---|---|---|
encoder_best.pth | 编码器模型 | ~9MB |
decoder_best.pth | 解码器模型 | ~8MB |
seg_92.pth | 分割模型 (几何校正) | ~15MB |
from huggingface_hub import hf_hub_download
import torch
# 下载模型
encoder_path = hf_hub_download(repo_id="ghgjcqwe/RANDmark-demo", filename="encoder_best.pth")
decoder_path = hf_hub_download(repo_id="ghgjcqwe/RANDmark-demo", filename="decoder_best.pth")
# 加载模型
encoder = EncoderDecoder(...)
encoder.encoder.load_state_dict(torch.load(encoder_path))
encoder.decoder.load_state_dict(torch.load(decoder_path))